开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜