Android Question [SOLVED] Launch external App from inside my App

Roger Daley

Well-Known Member
Licensed User
Longtime User
Hi all,
A question that's been asked previously but the answers I found kept raising more questions.

Can I launch the "BIGBANK" App from a button inside "MYB4XAPP" App?

Any suggestions?

Regards Roger
 
Solution
You can launch any installed app (with an icon).

You need to know the package name.
B4X:
Dim pm As PackageManager
Dim in As Intent = pm.GetApplicationIntent("package.name.here")
If in.IsInitialized Then
 StartActivity(in)
End If

Roger Daley

Well-Known Member
Licensed User
Longtime User
Many thanks Erel,
It took a few minutes to find how to get "BIGBANK' package name but turns out to be pretty easy.
Should be simple from here when I get home this evening.

Regards Roger

EDIT: All done and works nicely. A trivial layer of security when you have a banking on you mobile.
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…