Guide: How to start another app from my app (with activity starter)

There are several guides that teach us how to launch applications using activity starter.
The problem is that they show us some examples and generally if we want to run some other application that is not in those guides, we can not do it because we lack data, such as packages and classes.

And the guides in the community teach us to open the calculator, gmail and some other apps … but if we want to open a specific app, we do not know what data to put in the activity starter …

To solve this I have discovered an app in the Playstore (https://play.google.com/store/apps/details?id=de.szalkowski.activitylauncher&hl=es) that tells you the packages and classes of all installed apps.

NOTE:
Some packages or classes may not work. I still don’t know if it’s because you have to use another action (instead of using android.intent.action.VIEW maybe use android.intent.action.MAIN )

It may not work sometimes…

NOTE 2:
On my mobile the app is in Spanish, and I can’t change it to English. But anyway in the images is understood quite well …

01)
First we must install the app

02)
Once installed, open it and the following screen will appear:

03)
We select “All activities”

04)
The app loads all the applications we have installed on our phone

05)
The app shows us a list with all the apps. If we click on one of them, it shows us the different accesses (screens) of the app.
Then we hold down on one of them and click on “Edit shortcut”.

06)
Shows us the package and class of the app.
We copy them.

07)
We will use them to fill in the activity starter as follows

And it’s done. It should work in 90% of cases…

29 Likes

Great guide!
I’m moving this topic to the relevant category.

4 Likes

Good job dude :sunglasses:

Activity Launcher 1.7.0 [ Well Work ]

https://activity-launcher.en.uptodown.com/android/download/2041991

2 Likes

i need block code for when application not installed then redirect to play store xyz application page.

2 Likes

4 Likes

This post was flagged by the community and is temporarily hidden.

Nice Guide!

saved my life

can u pm me blocks that i can use to open a game like among us , or roblox

what about following the guide step by step to find it out yourself?
Taifun

4 Likes

Use this extension

not wrking

Here is an updated link

Also, not only games can be opened but you can open any application. Be sure to also check the package name of the app you want to launch.

For example, if you want to launch Roblox, use this block
image
Credit: PuraVida Apps
Then drag a text block and type the package name of the app shown below.
text

If you are looking for package names, first go to the Google Play Store

Next search for the app you want

Third click the app you want


Fourth Look for the package name in the address bar after details?id=

Fifth and final step copy and paste the package name. Do not copy details?id or the whole address bar.

3 Likes

Actually, you should not copy &hl=es. &hl=es is only to display the web page in Espanol. That is not the package name of the app if you copy &hl=es.

hmmm…
thanks
well u mean com.roblox.client
offtopic

com.roblox.client is the package name to open roblox from you app

2 Likes

You can also open Google Chrome by using com.android.chrome.

2 Likes

It’s working 100%.