[問題] andorid 內建map程式 中心點

看板AndroidDev作者 (skill)時間13年前 (2012/12/03 13:44), 編輯推噓1(105)
留言6則, 2人參與, 最新討論串1/1
請問各位大大 我用了 intent 呼叫內建的map程式 作法如下 String uri = "geo:"+latitude+","+longitude + "?z=16"; startActivity(new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(uri))); 我查了許多資料 始終無法把 map 顯示的現在位置 設為中心點 有用 LocationManager 查出現在的經緯度然後塞到String uri裡 可是這樣只有大略的位置 並無法準確的將map顯示的位置設為中心點QQ 請問這要怎模解決呢?~"~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.24.181

12/03 13:47, , 1F
應該google的到吧? 之前我弄過....
12/03 13:47, 1F

12/03 13:48, , 2F
等等,你是叫google map,不是用map view喔? 那我就不知道
12/03 13:48, 2F

12/03 13:48, , 3F
12/03 13:48, 3F

12/03 13:51, , 4F
不是mapView
12/03 13:51, 4F

12/03 13:51, , 5F
我查了它的輸入方式 都要加上 經緯度的參數
12/03 13:51, 5F

12/03 13:52, , 6F
可是我想應該有方法才對 QQ||| 只是我找了很久找沒有
12/03 13:52, 6F
文章代碼(AID): #1Gl3mxs5 (AndroidDev)