2013-11-26 29 views
0

我們只是想將Google地圖應用(在最流行的智能手機操作系統上)打開到特定經緯度,並顯示流量。最受歡迎的移動平臺的URL方案

這工作在iPhone上,comgooglemaps://中心= 39.718042,-104.959302 &變焦= 14點&意見=交通

什麼是等價的Android?

謝謝!

回答

0

在Android上,你可以解僱的意圖是這樣的:

String lat = "48.856035"; 
String lng = "2.346030"; 
startActivity(this, new Intent(Intent.ACTION_VIEW, Uri.parse("geo:" + lat + "," + lng)); 

所有其它參數可以在developer.android.com

找到