I made an app which I want to install in system/app directory so that user can not uninstall it. but I want to do it without rooting device. as soon as user download app it will be install in system/app directory.
I want to do this by writing code.
I am aiming that users are not allow to uninstall it.
Asked
Active
Viewed 2.5k times
4

Ḟḹáḿíṅḡ Ⱬỏḿƀíé
- 2,128
- 5
- 23
- 33

user3383787
- 68
- 1
- 2
- 6
-
1any app user is able to remove – Yurets Apr 22 '15 at 09:40
3 Answers
1
Only system
level applications (i.e. preloaded applications like Gallery
, Video Player
, Music Player
, SystemUI
etc ) resides in /system/app
folder and they have super user
(or root equivelent) permission
As programmatically, without rooting device, any 3rd party application cannot be installed to /system/app/
folder

Kushal
- 8,100
- 9
- 63
- 82
1
You can't do without root access. Once your device gets rooted you manually need to make that app system app. Otherwise there is no way to so without root. You cant do that just with coding of whatever type you write.

Deepak
- 11
- 3
0
/system is mounted a read-only, you cannot install an app to /system/app unless rooted. If you are running a rooted rom then just do adb remount to make it read-write

MindBlowing
- 11
- 1
- 2
-
-
1If you don't want your app to be deleted you can add as a Device Administrator.Until they Deactivate app cannot be deleted. – Thilina Anuradh Feb 14 '17 at 07:15