I just copied the code from the link (http://groups.google.com/group/
android-developers/browse_thread/thread/
ad6d7ddd57c51061/13f0b10817a2d440) and I still can't have the method
onLocationChanged() to get called. I don't think the problem is with
the listener because the method onStatusChanged() is called twice
(once when the application is started with the STATUS parameter set to
TEMPORARILY_UNAVAILABLE and the second time when I send the first GPS
coordinate via DDMS with STATUS set to AVAILABLE). However, the method
onLocationChanged() is NEVER called. I set all the necessary
permissions:

  <uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION" />
  <uses-permission
android:name="android.permission.ACCESS_MOCK_LOCATION" />
  <uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION" />

  but I still can't get my current location. I really have no idea why
this is happening. Is there any kind of permission that I need to have
or maybe something that I need to install before trying to use the
android GPS? I noticed that I don't have the folder /data/misc/
location/<provider_name>. Is it necessary for having the location
provided? How do I get that?

Thanks in advance


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

Reply via email to