Install an app as a system app programmatically - android

I'm beginner in Android. I want to know if there is any way that when users install my app in their devices (rooted devices), my app be installed as a system app automatically. Is it possible? If yes, how?

Related

download android .apk in background and install silently in background

I am making a kiosk application.
I want to download android .apk in the background from my website and install silently in the background.
Is there any way to do so? I want this functionality on a non-rooted device.
No, this is not possible on a non-rooted device.

How to fix stock android without app lock installed in it?

How to intstall an app lock into android device so that it could not be deleted by others
You need to lead the user to make your application be a device administrator

Testing as android.uid.system user

I am developing an android app that will run under the android.uid.system user (the tablet manufacturer is signing the app for me so it will be able to run under this user id).
The problem I have is that it takes about 2 to 3 weeks each time I want the app signing. As I make code changes I want to be able to test them under the system user but it is not feasible for me to wait this long to be able to test/debug my changes - especially if they turn out to be wrong.
Is there any way I can test the app on the tablet as the system user (or mimicking system user privileges) without having to get it signed every time?
Further info:
I am developing on windows 7, using Eclipse IDE.
The tablets are running Android 4.4.2 and 4.4.4 (2 different models).
The tablets are not and will not be rooted.
Assume a fairly basic level of understanding of app signing on my part.
Thanks in advance
Root the device and install app to system/app folder
I have sorted this myself by rooting the device for development purposes and then copying the app from the data/app folder to system/app and then removing the it from data/app folder.
The device then treats it as a system app and so far all of the system level functions I have tried have been working (such as reboot device and set timezone).
This article helped (although I had to copy (cp) and remove (rm) rather than move (mv) the app).

How does TabPilot remotely install apps without user interaction?

I want to build an app that would remotely install other apps on controlled tablets.
I know from the Android SDK documentation that you cannot install an APK programatically without user interaction, and rightfully so!
However, it looks like Tab Pilot http://www.tabpilot.com/ does this in background.
Any idea on how they do it? Apparently, the tablet needs not be rooted.

Best way to make system (stock) app

Here's the scenario. I have been asked to make an application which requires several system app only permissions. This is because the tablet is going to be used by employees and it needs to be locked down ect.
Is there is a programmatic way install a system app instead of installing it as a user app? If not what is the best way to make and install the system app to the tablet without rooting it if possible?
You have to root it. To be a system app, you need to be installed with the OS or as part of an OS update. That's the entire point of being a system app- the user can't have installed it. You'll need to root the device to put it on.

Categories

Resources