Roll Archive

Create a Roll Dice Game on Android with Shake Effect

A Roll Dice Game is a simple game in which you have to roll some dice and trying to make the highest score possible by adding the values of the two dice. In this tutorial, you are going to learn how to create a Roll Dice Game on Android. It’s a good way to discover

Get Android device rotation angles with accelerometer and geomagnetic sensors

In first versions of Android, rotation angles could be got by using a sensor with Sensor.TYPE_ORIENTATION as type. But, since Android 2.2, this method is deprecated. However, a lot of applications and developers still use this way ! The following tutorial aims to show you how to get rotation angles (azimuth, pitch and roll) in