cocos2d/cocos2d-x — pull request #1336 by nicolasgramlich (2012-09-18 18:06:13+00:00)
Title: Android Java+JNI refactoring.

Refactoring of the Android Java code into a library project.
Refactoring of the Android Java code to decoupled from Cocos2dxActivty (->Cocos2dxHelper) so that it can also be used in Fragments, but not only Activities.
Added a #IFDEF in ScriptingCore.cpp to allow loading of script files from the external assets directory instead of the apk-internal assets directory.
Refactoring of the Android JNI glue code into properly named files.