android google maps n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Android Google Maps PowerPoint Presentation
Download Presentation
Android Google Maps

Loading in 2 Seconds...

play fullscreen
1 / 25

Android Google Maps - PowerPoint PPT Presentation


  • 163 Views
  • Uploaded on

Android Google Maps. 建國科技大學 資管系 饒瑞佶 2011/1. Google Maps. 取得 Google Map API. Step1: 先進入 JDK 目錄. Google Maps. 透過 keytool.exe 建立認證指紋 需要 debug_keystore 路徑. Google Maps. debug_keystore 路徑. Google Maps.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Android Google Maps' - byron-ewing


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
android google maps

AndroidGoogle Maps

建國科技大學 資管系

饒瑞佶

2011/1

google maps
Google Maps
  • 取得Google Map API

Step1:先進入JDK目錄

google maps1
Google Maps
  • 透過keytool.exe建立認證指紋
  • 需要debug_keystore路徑
google maps2
Google Maps
  • debug_keystore路徑
google maps3
Google Maps
  • 輸入keytool–list –alias androiddebugkey –keystore “C:\Documents and Settings\Administrator\.android\debug.keystore” –storepass android –keypass android
google maps4
Google Maps
  • 產生認證指紋
google maps5
Google Maps
  • 進入Google Map API Key申請頁面
  • http://code.google.com/intl/zh-Tw/android/add-ons/google-apis/maps-api-signup.html

輸入認證指紋碼

google maps6
Google Maps
  • 進入Google Map API Key申請頁面
  • http://code.google.com/intl/zh-Tw/android/add-ons/google-apis/maps-api-signup.html
google maps7
Google Maps
  • 產生出API金鑰

0O7bGO2vQxBc90bpYbJ8PnSjJapePPkrSGRvP3A

<com.google.android.maps.MapViewandroid:layout_width="fill_parent" android:layout_height="fill_parent" android:apiKey="0O7bGO2vQxBc90bpYbJ8PnSjJapePPkrSGRvP3A" />

加入main.xml

google maps8
Google Maps

main.xml

google maps9
Google Maps
  • 建立新專案: HelloMaps

沒有Google APIs target

google maps10
Google Maps
  • 如果沒有Google APIs target
  • 請選擇Available packages進行安裝
google maps11
Google Maps
  • 安裝完Google APIs target畫面
google maps12
Google Maps
  • 建立新專案: HelloMaps
google maps13
顯示Google Maps地圖

加入

改成MapActivity

加入

google maps14
Google Maps
  • AVD也要對應具備Google APIs功能
google maps15
Google Maps
  • 增加 <uses-permission android:name="android.permission.INTERNET" />
  • 在 <application> 裡頭增加 <uses-library android:name="com.google.android.maps" /> 資訊
intent google maps
利用Intent 玩Google Maps
  • 建立新專案: IntentMaps
intent google maps1
利用Intent 玩Google Maps
  • AVD也要對應具備Google APIs功能
intent google maps2
利用Intent 玩Google Maps
  • 增加 <uses-permission android:name="android.permission.INTERNET" />
google maps18
更多Google Maps
  • 更多Google Maps