The following code works fine, so I know that locationManager is
valid:

       locationManager = (LocationManager)
getSystemService(Context.LOCATION_SERVICE);
       String prvdr = LocationManager.GPS_PROVIDER;
       locationManager.getAllProviders();



However, this doesn't, and the Eclipse debugger deosn't help as it
can't find the source cos Google doesn't supply it

       Location lct = locationManager.getLastKnownLocation(prvdr) ;


I'm a bit stuck at this - any ideas on the problem or how to debug
better?

Ta.

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to