We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Android Java+JNI refactoring
Android Java+JNI refactoring
Refactor #1481 [Closed]
Status: | Closed | |
---|---|---|
Start date: | 2012-09-21 | |
Priority: | Normal | |
Due date: | ||
Assignee: | - | |
% Done: | 100% |
|
Category: | android | |
Target version: | cocos2d-2.0-x-2.0.3 |
https://github.com/cocos2d/cocos2d-x/pull/1336
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.