Hi I have used the below code to get the location information from the network provider.
mLocationManager.requestLocationUpdates(
LocationManager.NETWORK_PROVIDER, 0, 0,
mLocationUpdatePendingIntent);
After 20 second I removed the location update. But with in 20 second am getting only 2 location data. Even connected with WiFi I am getting only 2 location data. If connected to WiFi I am getting the better accuracy location data. But still 2 location data.
I tried Location Request With GPS_PROVIDER, I am getting around 30 different location data.
Location request With NETWORK_PROVIDER in sony mobile with Aircel sim, I am not getting any location data in 20 seconds duration.
And also Location request With NETWORK_PROVIDER in samsung mobile with Airtel am getting only 2 samples in 20 seconds duration.
Location request With PASSIVE_PROVIDER never returns me any location data. I have used the Google Map apps. Still passive provider returns nothing.
I don't want to use the Fused location api. I need to use the Location manager. So How to get more location data with the help of NETWORK_PROVIDER. And also in sony mobile I am not getting any location data when requesting location with NETWORK_PROVIDER.
Please help me on this.