Android GPS onLocationChanged never called

天涯浪子 提交于 2019-12-04 13:54:36

put parms to the call:

locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000, 10f, locationListener);

I've found the problem.

I was testing with Android 2.3.3. and there is a bug. Testing with Google API (Level 10) works perfect.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!