Android Question Starting a apk installation after pressing a button

Ricardo Bunschoten

Active Member
Licensed User
Longtime User
Question:

I probaly can use the ap updating lib but i was wondering if i can not use this lib to start a apk installation ?

I have a apk file in the standard download folder

I have a button

If i press the button i want to start the apk in the download folder to install.
Of course the user has to accept the install.

I think i found it earlier in the past but i can not find it on the forum what the code was.



Thnx in advance
 

DonManfred

Expert
Licensed User
Longtime User
Look at the source of appupdating lib. You´ll find the code which creates the intent which is raised to install the downloaded apk
 
Upvote 0
Top