I am trying to check if it is possible to fetch the location using Location Manager using the below procedure
LocationManager service = (LocationManager).getSystemService(Context.LOCATION_SERVICE); boolean network = service.isProviderEnabled(LocationManager.NETWORK_PROVIDER);
The above logic works fine in Sony Ericsson, but when it comes to samsung, 'service.isProviderEnabled(LocationManager.NETWORK_PROVIDER)' always returns true., even with GPS , WiFi turned OFF and even with out a SIM card inserted.
Did anybody come across this? Any help would be appreciated. Thanks in advance.