REM Start of BASIC! A_GeoMapRevB.bas FN.DEF GetOpenMap(geoLocation$) LIST.CREATE S, commandListPointer LIST.ADD commandListPointer~ "new Intent(Intent.ACTION_VIEW);" ~ "setData(" + CHR$(34) + geoLocation$ + CHR$(34) + ");"  ~ ! "setPackage(" + CHR$(34) + "com.google.earth" + CHR$(34) + ");"  ~ "setPackage(" + CHR$(34) + "com.google.android.apps.maps" + CHR$(34) + ");"  ~ "resolveActivity(getPackageManager());" ~ "EOCL" BUNDLE.CREATE appVarPointer BUNDLE.PUT appVarPointer,"listS#commandListPointer",commandListPointer APP.SAR appVarPointer FN.RTN appVarPointer FN.END DEBUG.Off !myGeoLocation$ = "geo:0,0?q=34.99,-106.61(Treasure)" !myGeoLocation$ = "google.streetview:cbll=46.414382,10.013988" ! Mode d--> car, w--> walking, b--> bike, r--> railway myGeoLocation$ = "google.navigation:q=Zoo,+Osnabrück+Germany&mode=r" GetOpenMap(myGeoLocation$) END !! Data URI Scheme geo:latitude,longitude Show the map at the given longitude and latitude. Example: "geo:47.6,-122.3" geo:latitude,longitude?z=zoom Show the map at the given longitude and latitude at a certain zoom level.  A zoom level of 1 shows the whole Earth, centered at the given lat,lng.  The highest (closest) zoom level is 23. Example: "geo:47.6,-122.3?z=11" geo:0,0?q=lat,lng(label) Show the map at the given longitude and latitude with a string label. Example: "geo:0,0?q=34.99,-106.61(Treasure)" geo:0,0?q=my+street+address Show the location for "my street address" (may be a specific address or location query). Example: "geo:0,0?q=1600+Amphitheatre+Parkway%2C+CA" Note: All strings passed in the geo URI must be encoded.  For example, the string 1st & Pike, Seattle should become 1st%20%26%20Pike%2C%20Seattle.  Spaces in the string can be encoded with %20 or replaced with the plus sign (+). See also: https://developers.google.com/maps/dokumentation/android-api/intent Attention, now    new Intent(Intent.ACTION_VIEW, gmmIntentUri) is to translate to    "new Intent(Intent.ACTION_VIEW);" ~    "setData(" + CHR$(34) + gmmIntentUri$ + CHR$(34) + ");"  ~ In Future maybe:   "new Intent(Intent.ACTION_VIEW," + CHR$(34) + geoLocation$ + CHR$(34) + ");"  ~ or   "new Intent(Intent.ACTION_VIEW,!geoLocation$!);"  ~ !!