I am trying to get the GPS current location with LocationManager and LocationListener, but it usually takes 20sec to 1min, and I feel it's slow. When I monitor a log of real device, many of the event below is recorded into the log, but the onLocationChanged method isn't called.
D/libloc_api( 957): Event RPC_LOC_EVENT_PARSED_POSITION_REPORT (client 4)
D/libloc_api( 957): Session status: RPC_LOC_SESS_STATUS_IN_PROGESS Valid mask: 0xD
D/libloc_api( 957): Latitude: 35.6459570 (intermediate)
D/libloc_api( 957): Longitude: 139.7067404
D/libloc_api( 957): Accuracy: 28707.0000000
This is because the accuracy is too low?
I have tried 'Criteria.setAccuracy(Criteria.ACCURACY_COARSE)', but no difference.
Please let me know if there is faster way to get the GPS current location.
Thanks in advance.