开发者

Installation pop-up perior to the download . how?

开发者 https://www.devze.com 2023-01-04 15:15 出处:网络
I wanna implement a download-and-install mechanism. I have a source link where my app gonna download from, an apk file.

I wanna implement a download-and-install mechanism. I have a source link where my app gonna download from, an apk file.

Ive managed to do it, but i payed attention to the fact, that it first download then when it finish downloading it pop up an installation window and then install.

now this this can interrupt the user, if he is in the middle of conversation or some anothe opeartion, and a开发者_如何学Cll of a sudden the installtaion pop-up window, coming up after download successful.

In the market it works in a diffrent way: first it's up an installation window, and then downloading, and installing (in the background)

how can i achive it also the same way as the downloading mechanism of the market?

thanks,

ray.


I don't think so because PackageManager is not available for apps.

Follow this thread, they say which is the best way to solve your issue.

0

精彩评论

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

关注公众号