how to install apk file programmatically

前端 未结 5 1819
别跟我提以往
别跟我提以往 2020-12-09 13:30

I want to install an apk file from my application.

I have created an app that contains a button, when I click that button then another apk that I have stored in res

5条回答
  •  抹茶落季
    2020-12-09 14:03

    It probably will not work with an android.resource Uri. Try copying the APK out to external storage and doing the install from there.

提交回复
热议问题