Created attachment 3439[details]
Simple Android.mk file. Enables ZIP and APK support.
Based on the archiver_zip.c file I created a super simple hack which allows to use physfs to mount an Android APK file.
It basicly just prexfixes each filename with "/assets/" and then forwards the real work to the ZIP implementation in archiver_zip.c.
There is also a simple Android.mk file which is configured to enable ZIP and APK support.
Created attachment 3439 [details] Simple Android.mk file. Enables ZIP and APK support. Based on the archiver_zip.c file I created a super simple hack which allows to use physfs to mount an Android APK file. It basicly just prexfixes each filename with "/assets/" and then forwards the real work to the ZIP implementation in archiver_zip.c. There is also a simple Android.mk file which is configured to enable ZIP and APK support.
Created attachment 3440 [details] Patch with the implementation and the required changes for src/physfs.c and the CMake build script