开发者

Android Google Maps obtaining user location on emulator with 3G?

Is it possible to use 3G (from USB 3G) to implement a obtain location function ? I tried with the map which is installed on Android by default, when I tap on show my location it couldn't obtain my location with 3G connection.

From this page : http://developer.android.com/gui开发者_StackOverflow社区de/topics/location/obtaining-user-location.html. I see cellID. Is CellID available with 3G or only available with cell phone ?

Thank in advance and sorry for my English.


There should be a setting in the emulator config that will allow for location via network. If you are using the eclipse plugin, it will be in the Run/Debug settings for the emulator. Also, check your location and security settings on the emulator. Because it is just a jvm running android, you still need to allow the phone to find your location via network. Hope this helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜