I'm just new to this.
Something like
in the ActivityStarter.AfterActivity Block
might work (untested). Did it work for you?
Thanks. I set ActivityPackage, ActivityClass and Did almost everything as in the picture (just changed what happens). The application is simply launched, and nothing happens when it comes back.
Shall I drop blocks and settings?
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.
To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
Установлено-Instaled
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
Thanks, i will try to do something.
See this example http://puravidaapps.com/snippets.php#2skype about how to use the resolve activity method
Taifun
Yes, I will try this method. Thanks.
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.
I am using Android 11.
Thanks for the info, very useful.
Writes that access is denied QUERY_ALL_PACKAGES. What to do?
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)
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.