2017-07-21 10 views

答えて

1

はこの試してみてください。

Intent intent = new Intent(android.content.Intent.ACTION_VIEW, 
    Uri.parse("http://maps.google.com/maps?saddr=20.344,34.34&daddr=20.5666,45.345")); 
startActivity(intent); 

またはこのこのリンクhttps://developers.google.com/maps/documentation/urls/guideに応じてみてください動作しない場合:

Intent intent = new Intent(android.content.Intent.ACTION_VIEW, 
     Uri.parse("https://www.google.com/maps/search/?api=1&query=47.5951518,-122.3316393")); 
    startActivity(intent); 
関連する問題