Hello,

We have our Sdk based app in which we have our Ndk based library 
"libBase.so".
We also have a schema.db file which is between 4 to 12 megabytes, and is 
required to be accessed in read-only mode by the native code inside 
"libBase.so".
For this, I can place the schema file under asset folder and can directly 
access using Ndk api's, but we want to keep this schema file inside the 
same location of where my .so file is present, i.e "app/src/main/jniLibs", 
Since for all the other platforms we are keeping this file in the same 
location as the executable.
We may also need to open this file in write mode to support upgrades to the 
schema without needing an 'upgrade of the app'.
I am not sure whether this is allowed and hence how to approach this.

Any help or guidance would be appreciated. 

-
Regards,
Qadir

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/fe542b47-ea64-45c9-9398-2fedaa4b8fa1n%40googlegroups.com.

Reply via email to