Friday, October 16, 2009

[android-developers] Location based problem in emulator

Why would this blow up in the emulator if I have already pushed a location to it in DDMS?  It works fine on the handset.  Am I missing something really simple?

Location loc = lm.getLastKnownLocation(lm.getProviders(true).get(0));


--
Writing code is one of few things
that teaches me I don't know everything.

http://www.fuligin.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments:

Post a Comment