Hi, Thanks for your response.
In my application, the .so would be loaded using C code, which the application will access using JNI. Basically the "C" code will try to a dlopen(). If it fails, it will give a trigger to app to download the .so Once the .so is downloaded, app will again call the dll loading routine. 1. Will the application have to be restarted in this case too? 2. Does the native code have access to the applications "lib" directory? If not, then the downloaded file will have to be placed in the some common folder. Thanks, Vishal. On Nov 10, 1:14 am, fadden <[email protected]> wrote: > On Nov 9, 12:41 am, Vishal Choudhary <[email protected]> wrote: > > > 1. Can the downloaded .so be placed in /system/lib? > > No. > > > 2. If not, can it be downloaded to some other folder (say /data/advapp/), > > and if yes, how can the application refer to it? > > Every app has a "lib" directory into which shared libraries are > automatically installed. See the NDK docs for more information. > > > 3. After downloading the .so, would the system have to be restarted? > > No, just any application that makes use of it. -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
