Hi,
i am trying to run a simple program which shows lat and long values
but Location value is always null.
LocationManager locationManager;
locationManager = (LocationManager)getSystemService
(Context.LOCATION_SERVICE);
Location location = locationManager.getLastKnownLocation
(LocationManager.GPS_PROVIDER);
emulator shows alert force close - wait
please help me how can i fix this problem and also how can i debug
line by line, at the moment i am usinng if, else to see veriable
value.
Thanks,
Zeeshan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---