Hi
What is the equivalent of b4i's AppOpenURL in B4A?
With b4i am using AppOpenURL to open the internal map of iOS and indicating restaurants on a given map. I Need to do the same thing on Android (using androids maps). I did some tests with Google intents and get my result. But I am unsure whether this is the way to do it
This is what I am doing:
Kind regards David
What is the equivalent of b4i's AppOpenURL in B4A?
With b4i am using AppOpenURL to open the internal map of iOS and indicating restaurants on a given map. I Need to do the same thing on Android (using androids maps). I did some tests with Google intents and get my result. But I am unsure whether this is the way to do it
This is what I am doing:
B4X:
Private MapIntent As Intent
Private Destination As String
Destination = "https://www.google.com/maps/search/?api=1&query=Restaurant+M%C3%BCnchenstein"
MapIntent.Initialize(MapIntent.ACTION_VIEW, Destination)
MapIntent.SetComponent("android/com.android.internal.app.ResolverActivity")
StartActivity(MapIntent)
Kind regards David