Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Customized Installation in Android

Tags:

android

Is it possible to control the package installation process
in Android?

The problem is that I'm asked to install and uninstall packages without using the default android installer. I need to control the entire process within my application.

I already have my application in the /system/app/ folder,
so it might have the INSTALL_PACKAGE and DELETE_PACKAGES permission
(that was what I read).

I also have been looking to the source code of the installer,
but can't find a way to start installing or uninstalling
a package on my own.

Could this be done?

Thank you all

like image 764
Tsimmi Avatar asked Feb 12 '26 13:02

Tsimmi


1 Answers

The problem is that I'm asked to install and uninstall packages without using the default android installer. I need to control the entire process within my application.

That is not possible from the SDK. You are welcome to write your own firmware that accomplishes this and install it on your own phones.

like image 115
CommonsWare Avatar answered Feb 15 '26 01:02

CommonsWare



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!