I'm not certain that what you say is completely true. I've noticed that manually putting an APK in /data/app makes it available, however there are other things that happen during a correct installation which this method bypasses. Specifically, I've noticed that if the APK includes any native shared libraries, they won't get extracted using this method (rendering an application that depends on this useless). There may or may not be more install tasks which won't be performed via copy.
On May 17, 4:40 am, Ruini Xue <[email protected]> wrote: > Hi, all, > > If an apk were copied to /data/app, android would install it > automatically; and if an apk were deleted from /data/app, android > would uninstall it automatically. > > How does android implement this? with inotify? where is the related > codes? > > Best > > -- ruini > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

