Simply put the cmd to Java function: system("adb uninstall apt_name"); I mean your code should invoke the commands exactly as 'adb' does.
Kenny On Jan 3, 8:52 am, "Dr. Tingrong Lu" <lutingr...@hotmail.com> wrote: > Hi, > > How to write code to uninstall apk from device/emulator? Could anyone drop a > sample code? Thanks a lot! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---