Migrate SDK app to use Java entry point.
Example of adding new native API functions, and passing the native window pointer between Java and C++. The example illustrates the Java code dynamically adding a UI in response to a call from the native code, and the Java UI handlers call back to C++ to change the camera location.
Added example where some ui element (a button) is dynamically created in the java code, an opaque handle provided to te native code, such that the button can be positioned on screen by the native code (to keep it aligned with a location).
Make global references for cached java objects, a requirement for using SDK 15 due GC changes for ICS. Was previously handled by native app glue.
Merge master.
Use render context view and projection matrix in draw(), the values in update() are out of date and cause lag.