Tag archives for Sensor

Android

Learn to create a Luminosity Detector Application on Android

Android devices have a lot of devices to play with. In this tutorial, we are going to play with the ambient luminosity sensor to create a Luminosity Detector Application for Android devices. You can enjoy this tutorial in video on YouTube : To start, we are going to create an ultra simple User Interface for our application. We just need a…
Continue Reading
Android

Learn to create a Proximity Detector App on Android

Android devices have a lot of different sensors. Amongst them, most of them have a proximity detector sensor. It detects when your hand is close of the device. In this tutorial, you are going to create a Proximity Detector Application for Android by using the proximity detector sensor. Note that this tutorial is also available on Youtube :   First…
Continue Reading
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