How can I remove an app from the launcher of an rooted device ?
-
Do you want to remove a launcher icon? Also, do you ask for a programmatic solution or `adb`'s one? – Onik May 08 '16 at 20:09
-
programmatic, added this to the title, sorry about the unclear title – Chris Sherlock May 08 '16 at 20:26
-
The app still need to function? Does uninstall or disable the app satisfy your requirement? – Daniel May 08 '16 at 20:37
-
Your app or an another app? – Ozgur May 08 '16 at 20:38
-
Yes it needs to function. I only want to hide it from the launcher. – Chris Sherlock May 08 '16 at 21:26
-
All apps i want to – Chris Sherlock May 08 '16 at 21:26
4 Answers
It depends on what launcher you have, but maybe this will help:
https://play.google.com/store/apps/details?id=com.thinkyeah.apphider&hl=en
http://tricksnow.com/how-to-hide-apps-on-android-with-root-and-without-root/
And if you want to uninstall bloatware apps:
https://play.google.com/store/apps/details?id=zsj.android.systemappremover&hl=en

- 809
- 6
- 20
-
I search for an programmatic solution, added this to the title now, sorry for the unclear question – Chris Sherlock May 08 '16 at 20:27
i find this may it helps
Uri uri = Uri.parse("package:com.domain.app");
Intent i = new Intent(Intent.ACTION_DELETE, uri);
startActivity(i);

- 78
- 1
- 12
To hide app icon from launcher we can do it in following way:
PackageManager p = getPackageManager();
ComponentName componentName = new ComponentName(this, com.apps.MainActivity.class);
p.setComponentEnabledSetting(componentName,PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
To un-hide app icon from launcher we can do it in following way:
PackageManager p = getPackageManager();
ComponentName componentName = new ComponentName(this, com.apps.MainActivity.class);
p.setComponentEnabledSetting(componentName, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP);

- 7,326
- 3
- 41
- 61
Actually from android 10+, it is quite difficult to hide the app launcher icon. I have used the code of @shridutt kothari, just mentioned in the above comments. When the disable code runs, it only make the app launcher icon disabled not hidden. But you cannot launch it, it open the app info setting page when click the launcher icon.
Another way - This is another way to do that, make a app and run it as device owner mode. Then we can able to hide/remove the app launcher icon.
Visit the link- https://www.sisik.eu/blog/android/dev-admin/uninstalling-and-disabling-apps

- 425
- 4
- 6