Android Open Source - Hardware server DiceApp






Project Summary

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..

Web Site / Source Repository

DiceApp is hosted in the following web site
https://github.com/nagabharan/DiceApp

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.

Project Detail

The following table is the detailed list of DiceApp.

ItemValue
Java File Count1
Supported screen sizes[mdpi, hdpi, xhdpi]
Target SDK Version15
Minimum SDK Version8
Activity Count1
jar files usedandroid-support-v4.jar
Required Permissionsandroid.permission.INTERNET




Resource Files

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.

null




Java Source Files

DiceApp has the following Java source files.

com.arpith.dice.MainActivity.java