geolocation - Geo Fix Not Setting Browser Location in Android Emulator -


using the geo fix command set virtual device's location in android emulator works maps application. however, when attempt view current location in google maps in virtual device's browser, receive "your location not determined" error. geo fix command not support w3c geolocation standard or missing something?

(1) first, open emulator, run cmd, type telnet localhost 5554 appear android console: type 'help' list of commands ok.

(2) geo fix latitude longitude

(3) location loc = locationmanager.getlastknownlocation("gps");

if doesn't help,try this:

open eclipse, windows -> open perspective -> ddms -> emulator control -> manual manually set latitude , longitude, , press send button.

good luck~


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -