Add onResume and onPause for Sensor in MainActivity.
Implement gravity sensor.
Adjust creator method.
Get and update with gravity.
Update gravity (for real).
Fix setContentView issue.
Merge in sensor implementation.
Read and store gravity into array.