creliner.blogg.se

Android media player tutorial
Android media player tutorial











Therefore we make a lock which have a clear pressed and unpressed state which is visualized while pressing the lock. From a user perspective it should be clear to the user that the app is actually working. The user will have to pick the lock by clicking multiple times on the lock. You can set this via the property: (make sure you have the background image accessible via your drawable folder).

Android media player tutorial how to#

Its pretty straightforward, but maybe worthwhile to mention, is how to set the background (the door) via the XML. Later we will change this to a custom button as it needs to look like an actual lock. The second button is the actual lock you need to pick. One Button that will function as a back button which will only be visible after you opened the door. So lets start with the layout of our Walking Dead app. In this video you can see a small demo of the Walking Dead Prank App. Hopefully you get a bit scared with these special effects ) A theme song to the app and a moaning zombie when you open the door plus the phone vibrates when you picked the lock successfully. To make the app complete I added some special effects so to speak. Also the zombie which appears is based on a random selection. After random clicks (or picks) the door opens and a zombie of the Walking Dead appears. In the app you are confronted with a close door, in which you need to pick the lock. I’m a fan of the Walking Dead TV show so why not develop a small Walking Dead app :) I give it some thought to come up with a fun app to try out random events or actions in Android.

android media player tutorial

In the last days I worked on a small prank app to try out how to set random events or actions in Android.











Android media player tutorial