Hi all,

In the .apk manifest you can add lines such as

<uses-library android:name="com.dev.mylibrary"/>

And then if the library is not present on the device, the application won't
start.

My question is: is there some sort of call or check I can make from *within
my JNI or native C++ code* to see if the library is present on the phone???

I want to make an .so but to have a check similar to what an .apk does
automatically with its manifest to make sure it won't load unless this
library is also on the phone.

Also, the library in question is actually a .jar and not an .so (otherwise i
could just try loading the library and that would be enough)


thanks,

Aaron Lieber

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to