>
> I don't know why but whenever i try to run the program on my AVD it
> says that I have a NullPointerException on line 47, which I can't seem
> to get through.
>

That's exactly the problem. You haven't initialized locationManager before
you call it. Follow the description in
http://developer.android.com/reference/android/location/LocationManager.htmlto
instantiate it.

-- 
Ning

-- 
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 from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to