Pokud by to nabízel samozřejmě přímo Locus, bylo by to skvělé, protože třeba do panelu jde vložit odkaz na Mapy.cz, ale dojde jen ke spuštění.
V tom mém doplňku se posílá rovnou i střed obrazovky, takže je pak možné rovnou navigovat apod.
Mapy.cz
Intent intent = new Intent(Intent.ACTION_VIEW,
Uri.parse("geo:" + mapCenter.getLatitude() + "," + mapCenter.getLongitude()));
intent.setPackage("cz.seznam.mapy");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
Sygic (plná)
Intent intent = new Intent(Intent.ACTION_VIEW,
Uri.parse("com.sygic.aura://coordinate|" + mapCenter.getLongitude() + "|" + mapCenter.getLatitude() + "|drive"));
intent.setPackage("com.sygic.aura");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
Sygic (Voucher Edition)
Intent intent = new Intent(Intent.ACTION_VIEW,
Uri.parse("com.sygic.aura://coordinate|" + mapCenter.getLongitude() + "|" + mapCenter.getLatitude() + "|drive"));
intent.setPackage("com.sygic.aura_voucher");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
Orux Maps
Intent intent = new Intent(Intent.ACTION_VIEW,
Uri.parse("geo:" + mapCenter.getLatitude() + "," + mapCenter.getLongitude()));
intent.setPackage("com.orux.oruxmaps");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
Google Maps
Intent intent = new Intent(Intent.ACTION_VIEW,
Uri.parse("geo:" + mapCenter.getLatitude() + "," + mapCenter.getLongitude()+"?q="+mapCenter.getLatitude() + "," + mapCenter.getLongitude()));
intent.setPackage("com.google.android.apps.maps");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
WindyMaps
Intent intent = new Intent(Intent.ACTION_VIEW,
Uri.parse("geo:" + mapCenter.getLatitude() + "," + mapCenter.getLongitude()));
intent.setPackage("cz.seznam.windymaps");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
Volba
Intent intent = new Intent(Intent.ACTION_VIEW,
Uri.parse("geo:" + mapCenter.getLatitude() + "," + mapCenter.getLongitude()));
startActivity(Intent.createChooser(intent, "Vyberte aplikaci"));