https://github.com/victorman/DieAndroid
Die displays one ImageView in the middle of the screen showing the face of a die. Clicking on it randomly shows one of the 6 faces of the die and plays a sound.
Here is free clip art of dice:
https://openclipart.org/detail/29527/red-die-1
And here is the sound I used:
http://soundbible.com/182-Shake-And-Roll-Dice.html
As for code resources, if you look at the code for the below example's from Coursera's Android course from University of Maryland you'll see some close similarities:
https://github.com/aporter/coursera-android/tree/master/Examples/GraphicsBubbleProgram
https://github.com/aporter/coursera-android/tree/master/Examples/AudioVideoAudioManager
Neat!
ReplyDelete