Projects > cpp > Issues > Refactor #1481

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Android Java+JNI refactoring

Refactor #1481 [Closed]
zhangxm 2012-09-21 09:00 . Updated about 4 years ago

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.

zhangxm 2012-09-22 00:54
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:1f5a870149513c37c96fd3761b7ee0876a55a45d.

zhangxm 2012-09-26 11:46
  • Status changed from Resolved to Closed

Atom PDF

Start date:2012-09-21
Due date:
% Done:


Target version:cocos2d-2.0-x-2.0.3

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.