gpt4 book ai didi

android - 如何在没有播放服务的情况下让 android 位置工作?

转载 作者:行者123 更新时间:2023-11-30 00:09:32 24 4
gpt4 key购买 nike

我试图从所有 Google 应用程序(包括 Play 服务)中消除我的系统的膨胀...但我注意到位置有问题。几乎所有的 gps/导航应用程序都使用播放服务提供的位置,如果没有它,它们就不会锁定位置(当然)。有什么解决方法吗?为什么应用程序不使用如此酷的位置管理器?这有点令人沮丧。

最佳答案

原因在于 Google 管理 Android 的方式。他们确实制作了手册页,因此他们可以在其中说出任何内容来将您扔到他们的渔网上。例如,请参阅 Location and Maps 顶部的巨大注释手册。

Note: This is a guide to the Android framework location APIs in the package android.location. The Google Location Services API, part of Google Play Services, provides a more powerful, high-level framework that automates tasks such as location provider choice and power management. Location Services also provides new features such as activity detection that aren't available in the framework API. Developers who are using the framework API, as well as developers who are just now adding location-awareness to their apps, should strongly consider using the Location Services API.

To learn more about the Location Services API, see Google Location Services for Android.

如您所见,开发人员被指示不要使用 Android 框架 API。但为什么你认为谷歌不开发安卓系统呢?因为使用 Google API 会将您与 Google 联系在一起,因此您离不开它。这是一种让人上瘾的方式。

此外,这也有助于 Google 在您的应用每次请求位置时收集位置信息。所以基本上 Google 会像水蛭一样吸取您的应用位置数据。

Google 确实以其他公司可以使用该操作系统的方式平衡了 Android。但除非你安装谷歌服务,否则操作系统将毫无用处。这也许有点邪恶(但谁会注意到这一点,对吗?),但对于 Google 来说,这是一个双赢的局面。

要回答您的问题,没有它,编码为使用 Google API 服务的应用程序将无法运行。

关于android - 如何在没有播放服务的情况下让 android 位置工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48366719/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com