Tuesday, April 28, 2009

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:


android create avd -n my_android1.5 -t 2 -p path/to/my/avd


詳見: 什麼是AVD ?

No comments:

Post a Comment

發表一下意見,互動一下唄!

LinkWithin

Related Posts Plugin for WordPress, Blogger...

Adventure Book 2.0 Headline Animator

GoogleAd

funP Android 相關文章