“大众点评” Android App 的商家定位是使用的Google Map,当点击一个商家的地址时,系统会自动调用Google Map,并将商家方位显示出来,这是怎么做到的呢?

Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("http://ditu.google.cn/maps?hl=zh&mrt=loc&q=31.1198723,121.1099877(上海青浦大街100号)");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK     & Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);  intent.setClassName("com.google.android.apps.maps",     "com.google.android.maps.MapsActivity"); 
startActivity(intent);

更多相关文章

  1. 购物车(retrofit2+rxjava2+dagger+fresco+butterknife+xrecycler
  2. Android(安卓)仿美团大众字母索引实现
  3. [Android]simplelistadapter 与数据库绑定显示list 并且根据数据
  4. android与Web服务器交互时的cookie使用-兼谈大众点评数据获得(原
  5. 【资源介绍】iGou Android(安卓)开发视频教程
  6. android 如何得到SD卡的目录
  7. android html唤醒APP(原生)
  8. 【Android】高仿大众点评中的范围选择控件之RangeSeekBar
  9. Android(安卓)仿美团网,大众点评购买框悬浮效果之修改版

随机推荐

  1. Android培训班(48)
  2. Android学好Shape不再依赖美工
  3. Android电源管理
  4. Android团队如何进行情感设计
  5. 安卓ListView去除分割线、设置边距
  6. Unity3D研究院之与Android相互传递消息(十
  7. 【转】禁止android横屏和竖屏的切换
  8. 在Android中加入GOOGLE统计系统
  9. Android(安卓)1.0将不支持开发蓝牙和Gtal
  10. [Android]实现静默安装APK的两种方法