Hii everybody i am tring to get the current userlocation(latitude and longitude ) bt onLocationChanged method is not getting called
but other method like public void onProviderDisabled(String provider) please help what can be the problem ?
i have class
posted 5 years ago
You must have GPRS or wifi enabled for this.
Try using NETWORK_PROVIDER.
and you can use getBestProvider(Criteria) method too.