//Google参考文档,帮助我们怎样申请一个Google Map Key及其相关内容

  code.google.com/android/add-ons/google-apis/mapkey.html

 

  //xml文件

  <com.google.android.maps.MapView

   android:layout_height="fill_parent"

   android:layout_weight="fill_parent"

   android:enable="true"

   android:clickable="true"

   android:apiKey="你申请到的KEY"/>  

 

  //在Activity中我们继承的是MapActivity而不是Activity</p>

相关文章:

  • 2021-09-30
  • 2021-08-21
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
猜你喜欢
  • 2022-03-03
  • 2022-12-23
  • 2021-12-03
  • 2022-02-27
  • 2022-12-23
  • 2022-12-23
  • 2022-02-26
相关资源
相似解决方案