避免利用AGPS或网络的GPS,以避免Android的钱扣除 [英] Avoid making use of AGPS or network GPS to avoid deduction of money Android

查看:145
本文介绍了避免利用AGPS或网络的GPS,以避免Android的钱扣除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

经过了我从这个<一个得到了ANS href=\"http://stackoverflow.com/questions/25225535/does-fetching-gps-location-in-high-accuracy-mode-detects-money-from-our-balance/25225775#25225775\">post我想知道我怎样才能避免利用AGPS或网络的GPS。

Following up with the ans I got from this post I would like to know how can I avoid making use of AGPS or network GPS.

我使用 LocationClient 在我的code来获取用户的当前位置。在 LocationClient 是融合API,它会自动利用 GPS_PROVIDER NETWORK_PROVIDER

I am using LocationClient in my code to fetch user's current location. The LocationClient is a fused API which automatically makes use of GPS_PROVIDER or NETWORK_PROVIDER.

我在这里的主要目的是为了避免钱扣(欲了解更多信息,请参考这是我在上面链接的SO问题)。

My main intention here is to avoid deduction of money (For more information on this refer the SO question that I have linked above).

感谢。

推荐答案

不要使用融合。单独使用GPS_PROVIDER。这将只使用您的GPS硬件。电熔整点是使用AGPS和网络,以减少需要GPS和减少电池的使用。

Don't use fused. Use GPS_PROVIDER alone. That will use just your GPS hardware. The entire point of fused is to use AGPS and network to reduce the need for GPS and reduce battery use.

这篇关于避免利用AGPS或网络的GPS,以避免Android的钱扣除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆