An Android application that generates a random number using the vibration given to the phone. We check the accelerometer to retrieve the displacement and generate a random number via a throw of a dice. This number is then uploaded to a dedicated server and is used for playing snake and ladders..
DiceApp is hosted in the following web site
If you think the Android project DiceApp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of DiceApp.
|Java File Count||1|
|Supported screen sizes||[mdpi, hdpi, xhdpi]|
|Target SDK Version||15|
|Minimum SDK Version||8|
|jar files used||android-support-v4.jar|
There are 7 image files in DiceApp. The names of the image files are listed as follows.
d1.png d2.png d3.png d4.png d5.png d6.png ic_action_search.png
The following screenshort is generated from the image listed above.
DiceApp has the following Java source files.