--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
Hi David,thank you for the info, actually I was suspecting something like this, but, initially, this is one of the advantages of dynamic loading, that you can load libraries not available at build time. Do you mean that, then, is not possible to open system's libraries by this way as you can do in other Unix-like systems? I understand that there should be a way of doing this :-(.
Just curious, I made my mind to try to solve this in a different
way :-), does this means that is impossible to open any system library
with dlopen?
I understand the risks but I understand that there should
be a way to modify Android.mk to achive this. Am I wrong?
Joel,As far as I know, and perhaps David could correct me if I'm wrong, libmedia.so is automatically loaded by the MediaServer process upon boot, so you don't need to explicitly load it yourself.It's already loaded.
But isn't the library mapped to all processes?
/proc/< MY PID>/smaps still shows the library load address.
Are you saying that my process cannot use the library unless it dlopens it?
If so, and if the library is already loaded, what does dlopen actually do?