Hi, We're working on Location based services with android emulator. But the issue is that the application crashes when any of the following statements executes:-
Location location = locationManager.getLastKnownLocation(locationManag er.getBestProvider(CRITERIA, true)); OR Location location = locationManager.getLastKnownLocation("gps"); We have also defined permissions in manifest.xml as follows:- <uses-permission android:name="android.permission.ACCESS_GPS"/> <uses-permission android:name="android.permission.ACCESS_LOCATION"/> PS: we are also spoofing coordinates using ddms. Google map works fine, but our application keeps crashing. Any inputs please. 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 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 -~----------~----~----~----~------~----~------~--~---