Need help executing these commands ACTION_DELETE
I have installed an application on INTEL Oaktrail tab and I need to uninstall it now. I was going through this forum and I found that in package manager if you execute ACTION_DELETE your installed program gets uninstalled. Is this correc开发者_如何学Got? If yes can someone tell me exact steps on how to execute this command (which path/directory and exact command to run) Thanks
If you want to uninstall an app from your android device try the following code:
Uri packageURI = Uri.parse("package:com.any.app");
Intent intent = new Intent(Intent.ACTION_DELETE, packageURI);
startActivity(intent);
Hope this will solve your issue.
精彩评论