Through GPS we can get users location. When use not enabled GPS then how can we get users current location in Android.
Is there any way to get SIM Network location it ca be not exactly but approximate.
Please help, How get users current location based on SIM Location.?
- 5 years ago
You can't get exact Current Location But you can know almost or nearby Mobile Network Connection Location By TelephonyManager
TelephonyManager telephoneManager = (TelephonyManager)this.getSystemService(Context.TELEPHONY_SERVICE); String countryCode = telephoneManager.getNetworkCountryIso();