The code is as simple as
Using java Syntax Highlighting
- LocationManager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
- Location location = locationManager.getCurrentLocation("gps");
- Double lat = location.getLatitude() * 1E6;
- Double lng = location.getLongitude() * 1E6;
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
Problem is that both lat an lng are 0.0
does anybody has similar problem?
regards
Mateusz




