pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

  • <small id='3T4fP'></small><noframes id='3T4fP'>

  • <legend id='3T4fP'><style id='3T4fP'><dir id='3T4fP'><q id='3T4fP'></q></dir></style></legend>

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

      <tfoot id='3T4fP'></tfoot>
        • <bdo id='3T4fP'></bdo><ul id='3T4fP'></ul>
      1. LocationManager 的 getLastKnownLocation 有多可靠,多久更

        How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?)

          <bdo id='YQum3'></bdo><ul id='YQum3'></ul>

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

            <tbody id='YQum3'></tbody>

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

        • <legend id='YQum3'><style id='YQum3'><dir id='YQum3'><q id='YQum3'></q></dir></style></legend>
            • <tfoot id='YQum3'></tfoot>

                • 本文介紹了LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在構建一個可以在某些操作上使用用戶當前位置的應用.位置對用戶更有利,而不是流程的關鍵部分.我只對非常粗略的準確性感興趣,它可能會偏離 5 甚至 10 英里,但仍然很有價值.一般計劃是查看網絡提供商是否已啟用,然后就這樣做

                  I am building an app that can use a user's current location on certain actions. Location is more of a benefit to the user rather than a critical part of the process. I'm only interested in very rough accuracy and it can be off by 5 or even 10 miles and still be of value. General plan was to see if the network provider was enabled and then just do

                  locationManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER)
                  

                  假設沒有其他應用在運行,手機會自動定期更新網絡位置嗎?IE.此代碼可能總是會返回一個滿足我需要的值?

                  Assuming that no other apps are running, will the phone automatically periodically update the network location? I.e. there will likely always be a value returned by this code which will meet my needs?

                  我一直在做更多的研究,我認為我在這里真正想問的問題是,Android 操作系統或手機本身是否會更新網絡提供商的最后一個已知位置,因為手機鎖定到不同的位置手機信號塔或 wifi 網絡.答案似乎是否定的.在強制停止我的手機上我知道與位置服務交互的所有應用程序后,最后一個已知位置已停止更新.所以,我猜現在大多數手機都有可能在后臺運行一些定位服務來更新最后一個已知的位置,但手機本身不會這樣做.因此,如果最后一個已知位置太舊,我想我會采用某種形式的位置更新請求.

                  I've been doing a bit more research and I think the question I was really trying to ask here was if the Android operating system or the phone itself would update the last known location for the network provider as the phone locked onto different cell phone towers or wifi networks. The answer appears to be no. After force stopping all apps on my phone which I know to interaction with location services, the last known location has stopped updating. So, I'm guessing that these days chances are that most phones will have some location services running in the background updating the last known location but the phone itself won't do it. Hence I think I'll be going with some form of requesting location updates if the last known location is too old.

                  推薦答案

                  getLastKnownLocation() 只返回最后的修復.因此,如果沒有更新位置提供程序,則 getLastKnownLocation() 的返回值不會改變.位置對象還將為您提供修復的準確性和時間.

                  getLastKnownLocation() only returns the last fix. So if no location providers are being updated the return value of getLastKnownLocation() will not change. The location object will also provide you with accuracy and time of the fix.

                  我會查看這篇文章以獲取更多信息.您可以使用某個版本的一次性拍攝位置.

                  I would look at this post for more information. You could use some version of the one shot location.

                  http://android-developers.blogspot.com/2011/06/deep-dive-into-location.html

                  這篇關于LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Help calculating X and Y from Latitude and Longitude in iPhone(幫助從 iPhone 中的緯度和經度計算 X 和 Y)
                  Get user#39;s current location using GPS(使用 GPS 獲取用戶的當前位置)
                  IllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 拋出的 IllegalArgumentException)
                  CLLocation returning negative speed(CLLocation 返回負速度)
                  How to detect Location Provider ? GPS or Network Provider(如何檢測位置提供者?GPS 或網絡提供商)
                  Locations in Core Data sorted by distance via NSFetchedResultsController?(通過 NSFetchedResultsController 按距離排序的核心數據中的位置?)
                  <legend id='kIUDi'><style id='kIUDi'><dir id='kIUDi'><q id='kIUDi'></q></dir></style></legend>
                    <tbody id='kIUDi'></tbody>

                      <tfoot id='kIUDi'></tfoot>

                        • <bdo id='kIUDi'></bdo><ul id='kIUDi'></ul>
                            <i id='kIUDi'><tr id='kIUDi'><dt id='kIUDi'><q id='kIUDi'><span id='kIUDi'><b id='kIUDi'><form id='kIUDi'><ins id='kIUDi'></ins><ul id='kIUDi'></ul><sub id='kIUDi'></sub></form><legend id='kIUDi'></legend><bdo id='kIUDi'><pre id='kIUDi'><center id='kIUDi'></center></pre></bdo></b><th id='kIUDi'></th></span></q></dt></tr></i><div class="pllxxtv" id='kIUDi'><tfoot id='kIUDi'></tfoot><dl id='kIUDi'><fieldset id='kIUDi'></fieldset></dl></div>
                          • <small id='kIUDi'></small><noframes id='kIUDi'>

                            主站蜘蛛池模板: 法钢特种钢材(上海)有限公司 - 耐磨钢板、高强度钢板销售加工 阀门智能定位器_电液动执行器_气动执行机构-赫尔法流体技术(北京)有限公司 | 济南侦探调查-济南调查取证-山东私家侦探-山东白豹调查咨询公司 密集架|电动密集架|移动密集架|黑龙江档案密集架-大量现货厂家销售 | AGV叉车|无人叉车|AGV智能叉车|AGV搬运车-江西丹巴赫机器人股份有限公司 | 对辊破碎机_四辊破碎机_双齿辊破碎机_华盛铭重工 | 新能源汽车教学设备厂家报价[汽车教学设备运营18年]-恒信教具 | 贵州科比特-防雷公司厂家提供贵州防雷工程,防雷检测,防雷接地,防雷设备价格,防雷产品报价服务-贵州防雷检测公司 | 短信通106短信接口验证码接口群发平台_国际短信接口验证码接口群发平台-速度网络有限公司 | 不干胶标签-不干胶贴纸-不干胶标签定制-不干胶标签印刷厂-弗雷曼纸业(苏州)有限公司 | 排烟防火阀-消防排烟风机-正压送风口-厂家-价格-哪家好-德州鑫港旺通风设备有限公司 | 包头市鑫枫装饰有限公司 | 粉碎机_塑料粉碎机_塑料破碎机厂家-星标机械 | 时代北利离心机,实验室离心机,医用离心机,低速离心机DT5-2,美国SKC采样泵-上海京工实业有限公司 工业电炉,台车式电炉_厂家-淄博申华工业电炉有限公司 | 工业铝型材生产厂家_铝合金型材配件批发精加工定制厂商 - 上海岐易铝业 | 精密五金冲压件_深圳五金冲压厂_钣金加工厂_五金模具加工-诚瑞丰科技股份有限公司 | 南方珠江-南方一线电缆-南方珠江科技电缆-南方珠江科技有限公司 南汇8424西瓜_南汇玉菇甜瓜-南汇水蜜桃价格 | 国产离子色谱仪,红外分光测油仪,自动烟尘烟气测试仪-青岛埃仑通用科技有限公司 | 楼承板-开口楼承板-闭口楼承板-无锡海逵 | 继电器模组-IO端子台-plc连接线-省配线模组厂家-世麦德 | 拉力测试机|材料拉伸试验机|电子拉力机价格|万能试验机厂家|苏州皖仪实验仪器有限公司 | 避光流动池-带盖荧光比色皿-生化流动比色皿-宜兴市晶科光学仪器 东莞爱加真空科技有限公司-进口真空镀膜机|真空镀膜设备|Polycold维修厂家 | 阳光模拟试验箱_高低温试验箱_高低温冲击试验箱_快速温变试验箱|东莞市赛思检测设备有限公司 | 回转炉,外热式回转窑,回转窑炉-淄博圣元窑炉工程有限公司 | 成都顶呱呱信息技术有限公司-贷款_个人贷款_银行贷款在线申请 - 成都贷款公司 | 心肺复苏模拟人|医学模型|急救护理模型|医学教学模型上海康人医学仪器设备有限公司 | Trimos测长机_测高仪_TESA_mahr,WYLER水平仪,PWB对刀仪-德瑞华测量技术(苏州)有限公司 | 心肺复苏模拟人|医学模型|急救护理模型|医学教学模型上海康人医学仪器设备有限公司 | 胶泥瓷砖胶,轻质粉刷石膏,嵌缝石膏厂家,腻子粉批发,永康家德兴,永康市家德兴建材厂 | 找培训机构_找学习课程_励普教育 | 欧必特空气能-商用空气能热水工程,空气能热水器,超低温空气源热泵生产厂家-湖南欧必特空气能公司 | 金联宇电缆总代理-金联宇集团-广东金联宇电缆实业有限公司 | 骨密度检测仪_骨密度分析仪_骨密度仪_动脉硬化检测仪专业生产厂家【品源医疗】 | 新能源汽车电池软连接,铜铝复合膜柔性连接,电力母排-容发智能科技(无锡)有限公司 | 护栏打桩机-打桩机厂家-恒新重工 | 天津热油泵_管道泵_天津高温热油泵-天津市金丰泰机械泵业有限公司【官方网站】 | 灌木树苗-绿化苗木-常绿乔木-价格/批发/基地 - 四川成都途美园林 | DWS物流设备_扫码称重量方一体机_快递包裹分拣机_广东高臻智能装备有限公司 | 真空泵维修保养,普发,阿尔卡特,荏原,卡西亚玛,莱宝,爱德华干式螺杆真空泵维修-东莞比其尔真空机电设备有限公司 | 紫外线老化试验箱_uv紫外线老化试验箱价格|型号|厂家-正航仪器设备 | 苏州柯瑞德货架-仓库自动化改造解决方案| 乐考网-银行从业_基金从业资格考试_初级/中级会计报名时间_中级经济师 | 空压机网_《压缩机》杂志|