on anoter thread i need load every 400 milli seconds info from android device sensors and save it in a local db.
when holding 100 records on that db, a query the last record should be done:
if the device screen facing down- background color is blue.
if the device screen facing up- background color is yellow
if if towards the user- red.