3

I am developing an Android application. I want to hide any application icon (whatsapp,etc ....) in my android device and I want to start my application by pressing some numbers, for instance 456#. Is there a way to do this?

I know how to hide my app icon but i want to search how to hide other application icon.

Plz help me, thanx in advance.

Emmanuel
  • 13,935
  • 12
  • 50
  • 72
Sanket990
  • 665
  • 1
  • 10
  • 22

1 Answers1

0

The easiest way to hide or unhide any app is through cmd you have to only a command and buff.. its done

  * for disable in Kitkat

String cmd = "pm disable" + packageName; Shell.SU.run(cmd);

  • for enable in Kitkat

    String cmd = "pm enable " + packageName;

    Shell.SU.run(cmd);

    • for hide in lollipop

    String cmd = "pm hide " + packageName;

    Shell.SU.run(cmd);

  • for Unhide in lollipop

    String cmd = "pm hide " + packageName;

    Shell.SU.run(cmd);

Sunil Chaudhary
  • 1,221
  • 12
  • 25