一定要在配置文件中添加
<service android:name="com.baidu.location.f" android:enabled="true" android:process=":remote" > </service>
并且在ClientOption中要把setGPS 设置为true
这样setScanSpan()的设置才有效 才会定时
调用BDLocationListener的
一定要在配置文件中添加
<service android:name="com.baidu.location.f" android:enabled="true" android:process=":remote" > </service>
并且在ClientOption中要把setGPS 设置为true
这样setScanSpan()的设置才有效 才会定时
调用BDLocationListener的