try {
Intent searchAddress = new Intent(Intent.ACTION_VIEW,
Uri.parse("geo:0,0?="+emp_city_location));
startActivity(searchAddress);
} catch(Exception e) {
System.out.println(e);
}
我遇到了这样的异常
03-03 21:01:56.349: INFO/System.out(179): android.content.ActivityNotFoundException: 没有找到处理 Intent 的 Activity { act=android.intent.action.VIEW dat=geo:0,0?=chennai }
请回复我
你需要构建你的geo:
网址正确。请参阅文档对于语法。我想你可能只是错过了一个q
在。。之间?
和=
,但我还没有尝试过那个特定的geo:
syntax.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)