I am developing a small android application in which I want to find out the user\'s current location by using the network provider. I tried this in following ways but it\'s
Is your network provider enabled?
boolean network_enabled; try { network_enabled = locManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER); } catch(Exception ex) { ex.printStackTrace(); }