On Thu, Apr 15, 2010 at 4:44 AM, SREEHARI
<[email protected]>wrote:

>  In logcat it is showing Null pointer exception in the below line
>
> Location location
> = locationMgr.getLastKnownLocation(LocationManager.GPS_PROVIDER);
>
> Can anyone suggest a solution.
>

Don't use a null pointer. You're welcome.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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