New issue
 Projects > cocos2d-x > Issues > Refactor #1435

APK resource loading should use correct and supported Android C++ APIs

Refactor #1435 [Closed]
folecr 2012-08-20 20:35 . Updated over 11 years ago

Currently resource loading from APK is slow and uses custom unzip code.

Instead this should use Android APIs for accessing resources

Advantages :
* Since Android mounts the APK as a Linux filesystem the resource access is much faster.
* Also the code will be much cleaner than the current CCFileUtils code.

For an example of using these APIs please refer to :
https://github.com/folecr/jsplayer-android/blob/master/jni/jsbindings/JNI\_spidermonkey\_bindings.cpp\#L70

folecr 2013-08-08 23:45
  • Status changed from New to Resolved
  • % Done changed from 0 to 100
folecr 2013-08-08 23:46
  • Status changed from Resolved to Closed

Atom PDF

Status:Closed
Start date:2012-08-20
Priority:Normal
Due date:
Assignee:folecr
% Done:

100%

Category:android, linux
Target version:-