detect and use light and gyroscope sensors in Android