MobiWare
Share the information to developers
Pages
Home
Videos
Android Apps
Developers Connections
Sites & Forums
Indian Movie Songs
Contact Me
Friday, August 6, 2010
Uninstalling application using Intent in Android
AIM: To uninstall a application using Intent in Android by its package name.
Solution:
// add this few lines anywhere
Intent i = new Intent(Intent.ACTION_DELETE);
i.setData(Uri.parse("package:com.samplebrightness"));
startActivity(i);
//end
2 comments:
Anonymous
December 10, 2010 at 10:50 AM
good
Reply
Delete
Replies
Reply
Daniel
July 13, 2011 at 4:42 AM
Thanks! :D
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Android Developers Blog
The Third Beta of Android 16
- 3/13/2025
#TheAndroidShow: Multimodal for Gemini in Android Studio, news for gaming devs, the latest devices at MWC, XR and more!
- 3/13/2025
Multimodal image attachment is now available for Gemini in Android Studio
- 3/13/2025
Building excellent games with better graphics and performance
- 3/13/2025
Making Google Play the best place to grow PC games
- 3/13/2025
Ram's shared items
good
ReplyDeleteThanks! :D
ReplyDelete