はじめまして。 以下のコードでGPSとNETWORKの位置情報を取得しているのですが問題があります。
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() ); しかし、突然位置情報が取れなくなり、次のエラーがLogCatに発生してしまいます。 GpsLocationProvider: native_start failed in startNavigating() 色々試しているのですが、発生しない端末もあったりと全く原因が掴めないでいます… 今の所、原因として疑っているは次の2点くらいなのですが… ・同じLocationManagerのインスタンスに別々のプロバイダーリスナを登録している。 ・minTimeに0を入れている(但し、これをしないと動かない端末がある為)。 もし知っている方がいましたら教えて頂けないでしょうか? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

