Dianne, is it possible to disable other apps that I'm developing. For example, I develop 2 apps, and then I develop third app that includes functionality of previous ones. Can I disable my old apps? Is it possible to add some common security id in manifest to do this using setApplicationEnabledSetting ?
On Tuesday, March 2, 2010 9:35:30 AM UTC+4, Dianne Hackborn wrote: > > You can do this to your own app with these: > > > http://developer.android.com/reference/android/content/pm/PackageManager.html#setApplicationEnabledSetting(java.lang.String, > > int, int) > > > http://developer.android.com/reference/android/content/pm/PackageManager.html#setComponentEnabledSetting(android.content.ComponentName, > > int, int) > > Of course you can not do this to other applications. > > On Mon, Mar 1, 2010 at 4:53 PM, GPU <[email protected] <javascript:>>wrote: > >> Hi , >> >> How to disable a application which already installed in the >> device ?. >> So that it wont display icon to the user & user cant invoke the app by >> "pm start -n <package>/.<Activity>" . >> >> Is their any way to do that ?. >> >> -- >> 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]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > > > -- > Dianne Hackborn > Android framework engineer > [email protected] <javascript:> > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. > > -- 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

