App Inventor and the Activity Starter


How to download and install another app using the Activity Starter

Thank you Peep for the info how to use the package installer!

Note: If you use this method in your app, anyone who is using your app will need to change the setting on their phone to allow installation of non-market applications: To find this setting on versions of Android prior to 4.0, go to "Settings > Applications" and then check the box next to "Unknown Sources". For devices running Android 4.0 or above, go to "Settings > Security" or "Settings > Security & Screen Lock" and then check the box next to "Unknown Sources" and confirm your choice..

App Inventor blocks

Download another app from Google Drive

Install the downloaded app

Do you need help with your App Inventor project?

I can help you: for one hour I charge 25 USD.
Please contact me at info [at] puravidaapps [dot] com for details!
For questions about App Inventor, please use the App Inventor forum. Thank you.

Screenshots

Test

Tested successfully on HTC Desire running Android 2.2 and Nexus 5 running Android 4.4.2

Questions and Answers

Q1: When I run the App, it downloads the file correctly but when I click on "Install" button I get "Error 601: No corresponding activity was found". I use Nexus 5 Android version 6.0.1 and set the phone to allow installation of non market apps. Would appreciate some advice.
A: It looks like the solution doesn't work for all Android versions (probably Android 6 and up).
I now received the following solution from Claudio: I solved in this way :

After executing the above blocks , a popup appears and ask to me with which application I want to execute the .apk file. I choose the package installer application and I click the "always" button. I have to do this only the first time. Done.
Thank you Claudio!

Q2: I just had a look at your App Inventor APK installation tutorial and saw that your "updated" method to this problem is not the ideal solution. Instead of DataType=*/* you should be using DataType=application/vnd.android.package-archive. This way, you don't have to choose any app which may cause some confusion. It should also work on any new device.
A: Thank you Phoenix1747!

Download


Developing and maintaining snippets, tutorials and extensions for App Inventor takes a lot of time.
I hope it saved some of your time. If yes, then you might consider to donate a small amount!

Donation amount:

or donate some mBTC to Bitcoin Address:
1Jd8kXLHu2Vkuhi15TWHiQm4uE9AGPYxi8
Bitcoin

Thank you! Taifun
 

Download aia file for App Inventor
Back to top of page ...

Creative Commons License
This work by Pura Vida Apps is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License
with attribution (name=Pura Vida Apps and link to the source site) required.


Home | Snippets | Tutorials | Extensions | News | Forums | Links | Search | Contact

'