How do I define apps via mit app inventor? (find my second application using the first one)

Установлено-Instaled

1 Like

Sorry, I don't know. I notice that you are not providing an Action for the app you are trying to start (or determine if it is not present). You might have to provide an appropriate Action.

Also it might be better to test initially by placing the call ActiviyStarter2.StartActivity in a Button (calling CloudDB2.lGetValue might be interfering) instead of in Screen.Initialize.

The instructions in the ActivityStarter link are certainly confusing. Only you can test this unfortunately.

Typical Action calls are summarized in ActivityStarter

1 Like

Thanks, i will try to do something.

1 Like

See this example http://puravidaapps.com/snippets.php#2skype about how to use the resolve activity method

Taifun

2 Likes

Yes, I will try this method. Thanks.

1 Like

What android do you use?
From my own experience I know that my app was unable to access other apps when app inventor was targeted at api level 30. Users of my app who use android 11 reported me an error. I had to add an permission on QUERY_ALL_PACKAGES to the manifest.

2 Likes

I am using Android 11.

1 Like

Thanks for the info, very useful.

1 Like

Writes that access is denied QUERY_ALL_PACKAGES. What to do?

1 Like

You will need an extension to add this permission to the manifest. Add this extension to your project. You don't need to add a block that asks for permission.
com.extension.QueryAllPackages.aix (4.4 KB)

2 Likes

which means, you forgot to read

Taifun

Thanks, i will try to do something.

Thanks everyone, everything works.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.