Fwd: where in code are native libs loaded

BogDan bog_dan_ro at yahoo.com
Tue Jun 12 16:40:01 UTC 2012


Hi Marco,
> 

> Hi, I'm looking into moving all (or some) of my .so files to a different 
> location (for example getExternalFilesDir()) is it possible?

No, is not possible, at least not on all devices.

> The Idea I'm testing is to put all dependency .so files into an APK 
> expansion file and then unpack it to getExternalFilesDir
> 
> I was looking for where the .so files are loaded in the necessitas code but I 
> couldn't find it... any suggestions?

Check https://projects.kde.org/projects/playground/mobile/necessitas/android-qt/repository/revisions/unstable/entry/src/android/jar/src/org/kde/necessitas/industrius/QtNative.java#L91

> I managed to change part of the path 
> obtaining
> /mnt/asec/org.qgis.qgis-1/lib/lib/data/data/org.qgis.qgis/files/lib/libqgis.so
> 
> but somewhere in code necessitas adds /mnt/asec/org.qgis.qgis-1/lib/lib which I 
> don't need.
> 
> any hints?
> ciao Marco
> _______________________________________________


Cheers,
BogDan.



More information about the Necessitas-devel mailing list