I am acquiring the location information of GPS and NETWORK in the
following codes.

 locationMgr =
(LocationManager)context.getSystemService( Context.LOCATION_SERVICE );
 LocationManager.requestLocationUpdates( LocationManager.GPS_PROVIDER,
0, 0, listener, Looper.getMainLooper() );
 
LocationManager.requestLocationUpdates( LocationManager.NETWORK_PROVIDER,
0, 0, listener, Looper.getMainLooper() );

However, it becomes impossible to take the location information
suddenly and the following error occurs in LogCat.

 GpsLocationProvider: native_start failed in startNavigating()

I cannot grip the cause now at all.
[Cause?]
 1) A separate provider listener is registered in the instance of same
LocationManager.
 2) "0" is set to "minTime".

Please help.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to