我已经使用了Intent
Uri IntentUri = Uri.parse("google.navigation:q=" +locationDetails.data.latitude + ","+ locationDetails.data.latitude
+"to:"+ 21.190008199999998+","+72.7963623 + "to:"+ 21.200008199999998+","+72.8063623);
答案 0 :(得分:0)
老兄,你可以使用这个库:https://github.com/jd-alexander/Google-Directions-Android
在您的游戏中添加compile 'com.github.jd-alexander:library:1.1.0'
(模块:应用) - >在dependency{}
请查看lib的示例