![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Map
亚林瓜子
这个作者很懒,什么都没留下…
展开
-
调用其他地图应用
Uri uri = Uri.parse("geo:38.899533,-77.036476"); Intent it = new Intent(Intent.Action_VIEW,uri); startActivity(it); 这样就可以了,这个坐标是华盛顿的。 参考1:http://blog.csdn.net/JavaTiger427/article/details/5837616转载 2012-07-31 15:04:15 · 721 阅读 · 0 评论 -
检测手机中是否安装对应的应用
在Url发送之后,如果手机中没有对应的应用,这会抛出ActivityNotFoundException异常 我们只需要捕获该异常即可。 也可以捕获 ActivityNotFoundException异常,当调用startActivity()的时候, 来判断是否支持一个Intent。 参考:http://ericbaner.iteye.com/blog/1199298转载 2012-08-01 12:39:00 · 1964 阅读 · 0 评论