Android Question Launching KML file

boten

Active Member
Licensed User
Longtime User
Continuation question:
What are the parms to do the same in Google Maps?
I mean not using google maps lib, just launching google maps with a kml file
modifying the code:
B4X:
Sub ListView1_ItemClick (Position As Int, Value As Object)
lacouche=Value
Dim i As Intent
Dim myKML As String
myKML = File.Combine(File.DirRootExternal&"/KML", lacouche)
i.Initialize(i.ACTION_VIEW, "file:///" & myKML )
i.SetComponent("com.google.earth/.EarthActivity")
StartActivity(i)
End Sub
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top