<legend id='IXJs0'><style id='IXJs0'><dir id='IXJs0'><q id='IXJs0'></q></dir></style></legend>

        • <bdo id='IXJs0'></bdo><ul id='IXJs0'></ul>
        <i id='IXJs0'><tr id='IXJs0'><dt id='IXJs0'><q id='IXJs0'><span id='IXJs0'><b id='IXJs0'><form id='IXJs0'><ins id='IXJs0'></ins><ul id='IXJs0'></ul><sub id='IXJs0'></sub></form><legend id='IXJs0'></legend><bdo id='IXJs0'><pre id='IXJs0'><center id='IXJs0'></center></pre></bdo></b><th id='IXJs0'></th></span></q></dt></tr></i><div id='IXJs0'><tfoot id='IXJs0'></tfoot><dl id='IXJs0'><fieldset id='IXJs0'></fieldset></dl></div>
        <tfoot id='IXJs0'></tfoot>

        <small id='IXJs0'></small><noframes id='IXJs0'>

        LocationClient 与 LocationManager

        时间:2023-09-02

          • <small id='EWDTh'></small><noframes id='EWDTh'>

              <tbody id='EWDTh'></tbody>
            <tfoot id='EWDTh'></tfoot>
          • <i id='EWDTh'><tr id='EWDTh'><dt id='EWDTh'><q id='EWDTh'><span id='EWDTh'><b id='EWDTh'><form id='EWDTh'><ins id='EWDTh'></ins><ul id='EWDTh'></ul><sub id='EWDTh'></sub></form><legend id='EWDTh'></legend><bdo id='EWDTh'><pre id='EWDTh'><center id='EWDTh'></center></pre></bdo></b><th id='EWDTh'></th></span></q></dt></tr></i><div id='EWDTh'><tfoot id='EWDTh'></tfoot><dl id='EWDTh'><fieldset id='EWDTh'></fieldset></dl></div>
          • <legend id='EWDTh'><style id='EWDTh'><dir id='EWDTh'><q id='EWDTh'></q></dir></style></legend>
                  <bdo id='EWDTh'></bdo><ul id='EWDTh'></ul>
                  本文介绍了LocationClient 与 LocationManager的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  LocationClientLocationManager有什么区别.

                  它们之间的优缺点是什么(比如电池、精度)?

                  What is the pros and cons between them (like battery, accuracy)?

                  哪个更好用?

                  推荐答案

                  Location Manager是Android SDK中引入的,可以作为android的特性使用.

                  Location Manager was introduced in Android SDK and can be used as a feature of android.

                  Location Client 是 Google Play SDK 的一部分,并在最近的 Google IO 2013 中引入.

                  Location Client is something that's part of Google Play SDK and is introduced in the recent Google IO 2013.

                  可以理解,由于 Location Client 是最新的,因此可以更有效地以最少的能量(电池消耗)和更高的准确度获取位置.

                  One can understand that since Location Client is the latest, it is more efficient in getting the location with minimal energy(battery drain) with greater accuracy.

                  更新: LocationClient 已弃用.您必须使用 GoogleApiClient.这里可以找到它的一个例子.

                  UPDATE: LocationClient is deprecated. You have to use GoogleApiClient. An example of it can be found here.

                  Google Play 服务团队已清理他们的代码并将 LocationClient 功能移至 GoogleApiClient.

                  Google Play Services Team has cleaned up their code and moved LocationClient functionality into GoogleApiClient.

                  相同的教程可在http://developer.android.com/training/location/retrieve-current.html

                  在以下链接中,您可以找到有关此主题的 IO 讨论http://www.youtube.com/watch?v=Bte_GHuxUGc

                  On following link you can find IO talk about this subject http://www.youtube.com/watch?v=Bte_GHuxUGc

                  再次更新

                  GoogleApiClient 再次被弃用,你必须使用 <一个 href="https://developers.google.com/android/reference/com/google/android/gms/common/api/GoogleApi" rel="nofollow noreferrer">GoogleApi 基于 API.

                  GoogleApiClient has been deprecated again, you have to use GoogleApi based APIs instead.

                  这篇关于LocationClient 与 LocationManager的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:Android GPS 坐标分散 下一篇:如何在运行时在 React Native 中请求 Android 设备位置

                  相关文章

                  最新文章

                    <bdo id='fmvsV'></bdo><ul id='fmvsV'></ul>
                  <legend id='fmvsV'><style id='fmvsV'><dir id='fmvsV'><q id='fmvsV'></q></dir></style></legend>

                    1. <small id='fmvsV'></small><noframes id='fmvsV'>

                    2. <i id='fmvsV'><tr id='fmvsV'><dt id='fmvsV'><q id='fmvsV'><span id='fmvsV'><b id='fmvsV'><form id='fmvsV'><ins id='fmvsV'></ins><ul id='fmvsV'></ul><sub id='fmvsV'></sub></form><legend id='fmvsV'></legend><bdo id='fmvsV'><pre id='fmvsV'><center id='fmvsV'></center></pre></bdo></b><th id='fmvsV'></th></span></q></dt></tr></i><div id='fmvsV'><tfoot id='fmvsV'></tfoot><dl id='fmvsV'><fieldset id='fmvsV'></fieldset></dl></div>
                      <tfoot id='fmvsV'></tfoot>