MyLocation.java class 

"MainActivity" for getting the sensor values.