Allow newer devices to function, fixing a java exception and converting to 4 space.

The major change is the "Tabs to 4 spaces" to follow the Android coding standards: https://source.android.com/source/code-style.html#use-spaces-for-indentation and make it so other changes are easier to see.

Otherwise, there is a change to allow new android devices and a fix for a minor Java Exception.

Further PRs will be more organized.