首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

在程序中,打开google手机自带google 地图

2012-09-04 
在程序中,打开google手机自带google mapUri uri Uri.parse(http://maps.google.com/maps?q(%E6%A5%BC%

在程序中,打开google手机自带google map

Uri uri = Uri.parse("http://maps.google.com/maps?q=(%E6%A5%BC%E5%A4%96%E6%A5%BC)&z=21");Intent intent = new Intent(Intent.ACTION_VIEW,uri);ComponentName comp = new ComponentName("com.google.android.apps.maps","com.google.android.maps.MapsActivity");intent.setComponent(comp);startActivity(intent);

热点排行