开发者

Install an app programmatically from inner memory

开发者 https://www.devze.com 2023-03-28 13:54 出处:网络
I have created a small app, able to download an apk file and to in开发者_开发问答stall it. This app is working correctly when I install the .apk file on the sdcard, but when I try to download the file

I have created a small app, able to download an apk file and to in开发者_开发问答stall it. This app is working correctly when I install the .apk file on the sdcard, but when I try to download the file in the inner memory, I get an error : "Erreur d'analyse".

Is there a way to install an apk file that would have been installed in the inner memory and not on the sdcard?

I can understand why it wouldn't be possible on a phone. But with the new tablets and their gigs of memory, it should be possible?


No. There is no way to write it to internal memory. If there were, there would be a Manifest Permission for it (such as WRITE_EXTERNAL_STORAGE for writing to the SD card), but unfortunately there is no such permission.

0

精彩评论

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