2

Nokia X 専用の Android アプリに埋め込まれた Here Maps を実行するにはどうすればよいでしょうか? 現在の場所から定義する場所へのアプリ ルートが必要です。

Google マップでは、次のようにしました。

Uri.parse("http://maps.google.com/maps?   saddr="+myLocation.latitude+","+myLocation.longitude+"&daddr="+latLng.longitude+","+latLng.latitude));
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.addCategory(Intent.CATEGORY_LAUNCHER );    
intent.setClassName("com.google.android.apps.maps", "com.google.android.maps.MapsActivity");

ありがとう

4

1 に答える 1

3

HERE maps also supports google.navigation and geo schemes. If you want to navigate somewhere, you can use google.navigation scheme:

adb shell am start -a android.intent.action.VIEW -d google.navigation:q=Vuores

If you just want to show a location on map, use geo scheme

adb shell am start -a android.intent.action.VIEW -d geo:61.437424,23.81297
于 2014-04-02T12:05:48.313 に答える