Cupcake上開發Google Map相關應用
關於Android Location-based Service APIs
可以先看這官方說明文 : Location and Maps
Cupcake有多了些Support的 api
像是
java.lang.Object
↳ android.location.Geocoder
A class for handling geocoding and reverse geocoding. Geocoding is the process of transforming a street address or other description of a location into a (latitude, longitude) coordinate.
詳情請看Api :
http://developer.android.com/reference/android/location/Geocoder.html
在AVD的使用上也可以設定GPS support
所有跟硬體相關的設定紀錄在AVD's local directory > config.ini
跟GPS相關的參數名稱是hw.gps
Whether there is a GPS in the device. Default value is "yes".
--
By default, the android tool creates the AVD directory inside ~/.android/avd/ (on Linux/Mac), C:\Documents and Settings\\.android\ on Windows XP, and C:\Users\\.android\ on Windows Vista. If you want to use a custom location for the AVD directory, you can do so by using the -p option when you create the AVD:
詳見: 什麼是AVD ?
可以先看這官方說明文 : Location and Maps
Cupcake有多了些Support的 api
像是
java.lang.Object
↳ android.location.Geocoder
A class for handling geocoding and reverse geocoding. Geocoding is the process of transforming a street address or other description of a location into a (latitude, longitude) coordinate.
詳情請看Api :
http://developer.android.com/reference/android/location/Geocoder.html
在AVD的使用上也可以設定GPS support
所有跟硬體相關的設定紀錄在AVD's local directory > config.ini
跟GPS相關的參數名稱是hw.gps
Whether there is a GPS in the device. Default value is "yes".
--
By default, the android tool creates the AVD directory inside ~/.android/avd/ (on Linux/Mac), C:\Documents and Settings\
android create avd -n my_android1.5 -t 2 -p path/to/my/avd
詳見: 什麼是AVD ?
留言
張貼留言
歡迎留言一起討論