久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

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

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

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

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

      地理圍欄廣播接收器未觸發,但當我打開谷歌地

      Geofence Broadcast Receiver not triggered but when I open the google map, it works(地理圍欄廣播接收器未觸發,但當我打開谷歌地圖時,它可以工作)

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

        <tbody id='L1NzD'></tbody>

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

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

                本文介紹了地理圍欄廣播接收器未觸發,但當我打開谷歌地圖時,它可以工作的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我正在開發一個基于用戶位置的安卓應用.

                I am developing an android app based on user location.

                所以我正在使用地理圍欄"進入/退出事件.

                So I am using the "Geofence" enter/exit event.

                測試并不容易.

                因為要測試它,我應該搬出去或搬到某個地方.

                Because to test it, I should move out or in some location.

                所以我正在使用模擬器并設置虛擬位置信息(緯度/經度).

                So I am using the emulator and set virtual location info (lat/lng).

                無論如何,我在 這里.

                所以我跟著它,使用廣播接收器.

                So I followed it, using broadcast receiver.

                第一次,它不起作用.但是,當我打開谷歌地圖"時,我的當前位置開始變為我通過模擬器設置的位置.

                At the first time, It doesn't work. But, when I open "Google Map", my current location starting to change to what I set through the emulator.

                那時我的廣播接收器被觸發了.

                And my broadcast receiver is triggered at that time.

                但如果我不使用谷歌地圖",什么都不會發生......

                But if I don't use "Google Map", nothing happen...

                為什么?我該如何處理???

                Why? and How can I handle this???

                推薦答案

                實際上,我的應用運行良好.

                Actually, my app worked fine.

                但我添加了一些新功能,但它與地理圍欄無關.

                But I added some new feature but it is not related with Geofence.

                更新后,地理圍欄不起作用.

                After the update, geofence doesn't work.

                所以我檢查了我的提交列表,發現了一些東西.

                So I checked my commit list and I found something.

                我更改了依賴庫版本.

                我沒有找到根本原因,但是當我像下面這樣回滾庫版本時.

                I didn't find the root cause, but when I rollback the library version like below.

                implementation 'com.google.android.gms:play-services-location:16.0.0'
                implementation 'com.google.android.gms:play-services-maps:16.1.0'
                implementation 'androidx.core:core-ktx:1.2.0-alpha01'
                

                現在,地理圍欄在后臺運行良好.

                And now, Geofence works fine in background.

                這篇關于地理圍欄廣播接收器未觸發,但當我打開谷歌地圖時,它可以工作的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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)
                How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?)
                CLLocation returning negative speed(CLLocation 返回負速度)
                How to detect Location Provider ? GPS or Network Provider(如何檢測位置提供者?GPS 或網絡提供商)

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

                  <tbody id='AHKEW'></tbody>

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

                          <i id='AHKEW'><tr id='AHKEW'><dt id='AHKEW'><q id='AHKEW'><span id='AHKEW'><b id='AHKEW'><form id='AHKEW'><ins id='AHKEW'></ins><ul id='AHKEW'></ul><sub id='AHKEW'></sub></form><legend id='AHKEW'></legend><bdo id='AHKEW'><pre id='AHKEW'><center id='AHKEW'></center></pre></bdo></b><th id='AHKEW'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='AHKEW'><tfoot id='AHKEW'></tfoot><dl id='AHKEW'><fieldset id='AHKEW'></fieldset></dl></div>
                          主站蜘蛛池模板: 亚洲网站在线观看 | 亚洲午夜精品 | 日本一区二区高清视频 | 美女黄色在线观看 | 国产免费一区二区三区 | 在线日韩中文字幕 | 欧美高清视频在线观看 | 在线婷婷| 国产韩国精品一区二区三区 | 国产精品69毛片高清亚洲 | 亚洲视频在线一区 | 一区二区三区 在线 | 久久伦理中文字幕 | 黑人精品| 久久久久久黄 | 狠狠干影院 | 国产探花在线精品一区二区 | 中文字幕国产 | 伊人久久伊人 | 日日操日日舔 | 一区二区中文字幕 | 狠狠操在线 | 91av视频在线免费观看 | 人操人人| 日本三级网站在线观看 | 午夜在线观看免费 | 国产精品一区二区av | 成人免费精品 | 久久精品这里精品 | 成人精品国产一区二区4080 | aa级毛片毛片免费观看久 | 午夜tv免费观看 | 国产传媒毛片精品视频第一次 | 91影院在线观看 | 午夜电影网站 | 日本天天操 | 成人激情视频 | 亚洲一区 中文字幕 | 精品国产精品国产偷麻豆 | 国产午夜三级一区二区三 | 久久国产三级 |