Why packagemanager drops the vendor apps (Nativity Activity)'s so file.

47 views
Skip to first unread message

chinlin@tw-roc

unread,
Apr 21, 2012, 11:33:16 AM4/21/12
to andro...@googlegroups.com
If you put your Native Activity apk in /vendor, the .so file will not be extracted and dropped by package manager due to security reason?
NativityActivity should be treated as same as JNI apps.
There is also some problem, if you put your Native code in /system/lib, the NativeActivity can not load it. 
It looks like Native Activity forgot to handle this cases, it should work the same way that JNI does (it loads .so file from apps's libs folder, or /system/lib folder)
Can google team put this into consideration? There maybe more native activity developers want to deploy their apps into /vendor on device ROM.

Regards, 
Chinlin



David Turner

unread,
Apr 22, 2012, 4:21:57 AM4/22/12
to android-porting
+cc android-porting, +bcc android-ndk

That's not an NDK question, I'm redirecting you to android-porting.

Chinlin



--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/0hfrSWuUrQIJ.
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.

Reply all
Reply to author
Forward
0 new messages