Hello everyone,

I am trying to get a basic application to work on my emulator, but I
keep receiving the error in the title.  The program is simply supposed
to find GPS coordinates and display them in a toast.

I got the source code from here: 
http://www.devx.com/wireless/Article/39239/0/page/1
(Click Figure 3 to see it all)

I believe that the problem is with the line:

lm.requestLocationUpdates(LocationManager.GPS_PROVIDER,
0,0,locationListener);

As soon as I load the application, I get the error and I have to
"Force Close." What am I doing wrong?

-- 
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

Reply via email to