【发布时间】:2013-03-29 09:33:05
【问题描述】:
我想启动一些接受地理坐标的应用程序 (http://developer.android.com/training/sharing/send.html)。问题是他们需要不同的 URI。
示例(伪代码):
Intent intent = new Intent(android.content.Intent.ACTION_VIEW);
intent.addSomeUri("http://maps.google.com/maps/?daddr="+myAddress);
intent.addSomeUri("http://someotherservice.com/?coordinates="+myLat+":"+myLng+"&address=myAddress");
编辑: 当然,目标是让两个应用程序出现在同一个活动选择器中。
我该如何实现?
【问题讨论】:
标签: android