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
Hardik Trivedi
Ranch Hand
Joined: Jan 30, 2010
Posts: 252
posted
0
You must have GPRS or wifi enabled for this.
Try using NETWORK_PROVIDER.
and you can use getBestProvider(Criteria) method too.