1

我试图编写用地址打开位智的代码,它在 10 个月内运行良好,但现在它只是打开位智而不给我导航,代码如下

            String uri = "geo:0,0?q=" + selectedName;

            Uri u = Uri.parse(uri);

            Intent intent = new Intent(Intent.ACTION_VIEW,u);

            startActivity(Intent.createChooser(intent,"Choose Navigation Software"));

(别忘了它只需要与 Waze 一起工作,它也与谷歌地图和 moovit 一起工作)。

请帮我 ,

提前致谢

4

0 回答 0