久久久久久久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>
                          主站蜘蛛池模板: 亚洲精品久久久9婷婷中文字幕 | 99国产精品99久久久久久粉嫩 | 午夜影院 | 亚洲一区在线日韩在线深爱 | 日韩亚洲一区二区 | 国产人久久人人人人爽 | 精品欧美一区二区三区久久久 | 国产一级一级毛片 | 精品综合| 久久另类 | 欧美片网站免费 | 日韩在线不卡 | 一区日韩 | 久久国产综合 | 国产精品久久久久久福利一牛影视 | 91影库| 国产成人一区二区三区 | 欧美精品一区二区三区在线 | 久久国内精品 | 久久久久国产一区二区三区不卡 | 免费黄色的视频 | 天天爽天天操 | 97伦理影院 | 日本免费在线看 | 国产精品99999| 国产成人精品一区二区三区在线 | 一区视频 | 成人免费在线小视频 | www视频在线观看 | 6080亚洲精品一区二区 | 久久久久中文字幕 | 久久久视 | 欧美视频1区 | 成人免费在线观看 | 亚洲一区二区在线视频 | 久久久精品网 | 91香蕉| 中文字幕一区二区三区精彩视频 | 在线视频日韩精品 | 国产高清精品在线 | 成人久久网 |