Tag archives for Accelerometer

Android

List all sensors available on an Android device

Android devices have a lot of sensors inside. Android SDK put on the hands of developers all the necessary APIs to take advantages of them and offer to their users applications that use them. In this tutorial, you’re going to learn how to list all the sensors available on an Android device. In a future tutorial, we will see how…
Continue Reading
Android

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 as type. But, since Android , 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 the recommend way by using accelerometer…
Continue Reading