S susu Well-Known Member Licensed User Longtime User Aug 31, 2012 #1 My :sign0104: question: Is there a way to use dynamically linked library (.so file) ? If no, will B4A support it in future? Thank you.
My :sign0104: question: Is there a way to use dynamically linked library (.so file) ? If no, will B4A support it in future? Thank you.
Erel B4X founder Staff member Licensed User Longtime User Sep 2, 2012 #2 Yes, you can copy the so files to File.DirInternal and then call System.loadLibrary (from your library). Upvote 0
Yes, you can copy the so files to File.DirInternal and then call System.loadLibrary (from your library).
D daemon Active Member Licensed User Longtime User Oct 29, 2014 #3 I'm trying to use a 3rd party library, which uses .so file and loads it using: System.load("/data/data/" + context.getPackageName() + "/lib/" + library); File.DirInternal points to /data/data/<package>/files folder. How to copy .so file to /data/data/<package>/lib/ folder as part of apk installation? Upvote 0
I'm trying to use a 3rd party library, which uses .so file and loads it using: System.load("/data/data/" + context.getPackageName() + "/lib/" + library); File.DirInternal points to /data/data/<package>/files folder. How to copy .so file to /data/data/<package>/lib/ folder as part of apk installation?
Erel B4X founder Staff member Licensed User Longtime User Oct 29, 2014 #4 This is a thread from 2012. Please start a new one. Upvote 0