Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/183.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android地图未找到路由消息_Android_Google Maps_Android Mapview - Fatal编程技术网

Android地图未找到路由消息

Android地图未找到路由消息,android,google-maps,android-mapview,Android,Google Maps,Android Mapview,我只想画一个从当前位置到这样一个位置的方向。当我开始地图活动时,请在地图视图中显示此警告 “找不到路由” 我的代码如下。源和目标类似=>“23.45,34.112”。他提出警告的理由是什么?Uri不正确吗 Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("http://maps.google.com/maps?saddr=" + source + "&daddr="+

我只想画一个从当前位置到这样一个位置的方向。当我开始地图活动时,请在地图视图中显示此警告

“找不到路由”

我的代码如下。源和目标类似=>“23.45,34.112”。他提出警告的理由是什么?Uri不正确吗

Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
            Uri.parse("http://maps.google.com/maps?saddr=" + source + "&daddr="+destination));
    this.context.startActivity(intent);
你是否尝试过搜索你正在寻找的位置是否有谷歌地图覆盖?还有,你用了什么?你有没有尝试过搜索你要找的位置是否有谷歌地图覆盖?你用了什么?