-1

I make application that hide other apps. I succeed to hide and unhide other apps with rooted device. But when i was trying on unrooted device, not succeeded. I also tried with nfs, Device owner but not getting success. Followed these links. tried with manage permission also but not working. Please help me if anyone getting success without rooted device.

Error: root require:

 E/hide: java.lang.SecurityException: Permission Denial: attempt to change component state from pid=23999, uid=10263, package uid=10264

followed these links below:

http://www.eoeandroid.com/thread-288229-1-1.html Install / Unistall from shell command in Android

Community
  • 1
  • 1

1 Answers1

0

You have to take device owner in order to use the hide/unhide api. You can use this guide to understand about the device owner

Once you have achieved device owner, you can use the following apis: setApplicationHidden.

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
kash
  • 830
  • 2
  • 7
  • 19
  • Please refrain from posting linkys that would suffer from link rot. Give a summary, on it, this is a linky only answer. – t0mm13b Dec 04 '16 at 01:04