Search code examples
javaandroidhidelauncherandroid-package-managers

Hide Apps from Default Launcher


How is this possible? I've looked at

    PackageManager pm = this.getPackageManager();
    pm.setComponentEnabledSetting(new ComponentName

But It seems that isn't the solution. I want to essentially let the user checkbox which apps to hide from their default launcher. There has to be a way without creating my own custom launcher.

Any help would be great all. Thank you


Solution

  • But It seems that isn't the solution

    It will work for your own app, at best. Some home screen implementations do not detect this change right away, requiring a reboot of the device.

    There as to be a way without creating my own custom launcher.

    No, sorry.