Dr. Lu, Don't be sad, I believe there must be a way:) PackageManager.installPackage is still there in cupcake branch. Maybe it's just not exposed in public sdk.
On Sat, Jan 3, 2009 at 6:30 PM, Dr. Tingrong Lu <[email protected]>wrote: > This answer makes me sad, my boss ordered me to do that. > > > > > > > ----- Original Message ----- > *From:* Shane Isbell <[email protected]> > *To:* [email protected] > *Sent:* Saturday, January 03, 2009 3:36 PM > *Subject:* [android-developers] Re: How to write code to uninstall apk > from device/emulator? > > > > On Fri, Jan 2, 2009 at 11:23 PM, Dr. Tingrong Lu > <[email protected]>wrote: > >> Hi, >> >> Thanks for your reply. I mean how to write code to uninstall apk from >> device/emulator, not in an interactive commander line or shell. With SDK0.9, >> there's a method, packagemanager.deletePackage(), but with SDK1, that method >> is removed. I wonder how to uninstall apk with SDK1. >> > You can't do it. > > >> >> Thanks >> >> >> >> >> >> ----- Original Message ----- >> *From:* kiran raj <[email protected]> >> *To:* [email protected] >> *Sent:* Saturday, January 03, 2009 2:33 PM >> *Subject:* [android-developers] Re: How to write code to uninstall apk >> from device/emulator? >> >> >> >> Hi , >> >> this is the coding for uninstall the apk file..... >> >> *adb uninstall apk_filename in command mode >> *using emulator >> >> Go to the dev tools >> >>go to package browser >> >> then unistall the package name now ur emulator delelte that >> package >> >> >> >> Thank u >> >> > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

