Fixed a few bugs to get it compiling on Android

There were a few syntax/naming errors. It builds and runs now, the destroy method works. The plugin still needs to handle when an app pauses.