开发者

Customized Installation in Android

Is it possible to control the package installation process

in Android?

开发者_JAVA百科

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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜