How to remove another app?

i searched forums but got nothing. can we remove other apps from our app?

What do you mean by this? Your app should only contain itself if you are not starting other activity.

i mean when i click a button in my app i want remove youtube app.
i want to be crystal clear. i want to remove it only from device. not from store:)


Try with activity intent ACTION_DELETE


The solution is Activity Starter.
Action: android.intent.action.UNINSTALL_PACKAGE
Data Uri: package:<packagename>

Taken from App Inventor Code Snippets | Pura Vida Apps


awesome thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.