Geolocation not working KitchenSink
Within the KitchenSink, does the getCurrentPosition work for anyone? This method is supposed to work within the simulator, right?
2 Answers
-
The location event listener won't fire. So, you won't get updates on your position. But, generally you should be able to get the one-shot location information. I'm not sure if you're doing Android or iPhone. On Android, I had to manually set the location one time, from there it's cached (forever it would seem as I haven't fiddled with it and the one-shot location data is still there after several restarts). See my answer in the big long tips thread for the way to manually set a location in the Android simulator.
-
i read a similar thread on this very forum a long back….and the solution was
open up ddms and find the emulator number such as emulator-5560…
now open up cmd prmpt window and type the following telnet command
telnet localhost 5560
then
geo fix -82.411629 28.054553