Please! Someone help ... I need to do a application just like RotateMe ... I've already did the whole application, but when in hide/background mode but the screen stops rotating!!! I tried this code:
Does any one knows if there are other options for changing the screen orientation that works in background?!
sensor_type = sensor.sensors()['RotSensor']
N95_sensor = sensor.Sensor(sensor_type['id'],sensor_type['category'])
if status == sensor.orientation.TOP :
elif status == sensor.orientation.RIGHT :