iOS Question How to bring app to foreground

rfresh

Well-Known Member
Licensed User
Longtime User
I'm running a Clock and need to bring my app to the foreground when the time is up.

I found this code below (from Erel) but I am getting a msg asking if I am missing a library reference. I don't see these in the list of libraries.

B4X:
    Dim Intent1 As Intent
    Dim pm As PackageManager

Intent1 = pm.GetApplicationIntent (myapps.package.name)
StartActivity (Intent1)
 

rfresh

Well-Known Member
Licensed User
Longtime User
You are right Klaus and I made the mistake when I was reading that post where I got the code. I thought it was an iOS post but I'm sure you are correct.

Maybe someone can jump in and answer my question: in iOS how to bring an app to the foreground.
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…