Unable to open an external android program using ActivityStarter

I plan to make a large app consisting of multiple small apps with specific functions. The idea was to call one app from another and pass parameters.
To test this idea, I created a small app and then designed another app to call the 1st app. I used ActivityStarter for this. According to the documentation we need to use the following two lines of code:
ActivityPackage: appinventor.ai_HomerSimpson.HelloPurr
ActivityClass: appinventor.ai_HomerSimpson.HelloPurr.Screen1

My issue? Getting the source code, find the file youngandroidproject/project.properties and the first line with " main= ". (for the package and class name).
I tried unzipping the apk files then tried the aix files, to no avail. I just couldn’t find the file youngandroidproject/project.properties

I even tried logic by attaching my user name and app name (the app, designed on AppInventor, was already installed in my android phone (One+5)) .(see below):
ActivityPackage: appinventor.ai_Lavanian.AmbuApp01
ActivityClass: appinventor.ai_Lavanian.AmbuApp01.Screen1
This would only freeze the app.
So I added error trapping to the code and this is the error I got:“601, No corresponding activity was found”

Please help me find a way to call an external app and pass parameters to it.
Thank you, in advance.
Rgds,
Dr. Lavanian MBBS

You need to export the aia project file for each app
Use an unzip program to open up the aia file
You will see a folder called youngandroidproject
Open that folder and you will see a file called project.properties
Open that with a text editor and the first line should give you the required values

1 Like

This is in Spanish, but you can copy the codes …
http://kio4.com/appinventor/19B_activystarter.htm

http://kio4.com/appinventor/19E_activystarter_otra_app.htm

1 Like

Thank you! It worked.

Thank you. Will try it after translating code to english.

Hi!
I have got the same problem. I need to open an external app from AppInventor and it says me “Error 601, No corresponding activity was found”
The external app is Scope and I have written as Package and Class “com.aumentaty.Scope”, is the information that gives me the mobile.
What is going wrong? Could you help me?

Thanks!
Aloña.

this seems to be not correct, you can find the correct settings like this: Using the Activity Starter, chapter "Discovering how to set the ActivityStarter properties"

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.