Hi,

   I developed an application using Google map api that use GPS also.
It is working fine in HTC G1 mobile with sdk version 1.6. But it is
not working in Nexus One. It is getting crashed... In logcat it is
showing Null pointer exception in the below line

Location location =
locationMgr.getLastKnownLocation(LocationManager.GPS_PROVIDER);

GPS is enabled in the phone. The built in google maps is also working
fine. Can anyone suggest a solution.

Thanks in advance
SREEHARI.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

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

Reply via email to