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" <[email protected]> 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to