Minggu, 12 Desember 2010

Android How to set location on emulator | faniescorp

You have two options if you would like to set the location on the emulator. For both options, you start with starting the emulator first.

Option 1: using DDMS

  • go to your android/tools directory, and launch the DDMS tool
  • select the Emulator Control Tab
  • fill the Location Controls fields with the longitude and latitude values
  • press the Send button

Option 2: using telnet

  • open a command shell
  • conect to the emulator with the command: telnet localhost
  • to enter a fixed location execute the command:
    geo fix []

For more information visit Location and Maps on the Android Developers page

http://www.helloandroid.com/tutorials/how-set-location-emulator
http://www.helloandroid.com/tutorials/musicdroid-audio-player-part-ii
http://www.helloandroid.com/tutorials/newsdroid-rss-reader
http://www.helloandroid.com/tutorials/phonefinder-sms-phone-locator
http://www.helloandroid.com/tutorials/using-threads-and-progressdialog

Tidak ada komentar:

Posting Komentar