Von meiner Android-Anwendung aus muss ich die Standortfreigabeseite von Google Maps öffnen. Ich kann die Google-Maps-Anwendung mit folgendem Code-Schnipsel starten,So führen Sie eine Deep-Link-Verknüpfung zur Standortfreigabeseite in der Google Maps-Anwendung aus
Intent mapIntent = new Intent(Intent.ACTION_VIEW);
mapIntent.setPackage("com.google.android.apps.maps");
startActivity(mapIntent);
oder
Intent mapIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("geo:latitude,longitude?z=zoom"));
startActivity(mapIntent);
Was soll ich tun, um die "Location Sharing" Seite (siehe Abbildung unten) Google Maps zu starten?
Intent mapIntent = new Intent (Intent.ACTION_VIEW, Uri.parse ("geo: Breitengrad, Längengrad z = Zoom")); startActivity (mapIntent); das ist besser, denn hier teilen Sie Ihre genauen Informationen mit Details –
Das ist in Ordnung. Aber ich brauche eine Lösung, um die Standortfreigabe Seite –