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

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

      <tfoot id='xJPlB'></tfoot>

    1. <legend id='xJPlB'><style id='xJPlB'><dir id='xJPlB'><q id='xJPlB'></q></dir></style></legend>

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

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

        在 Kivy 中處理 Android 上的應用程序暫停/恢復

        Handling app suspend/resume on Android in Kivy(在 Kivy 中處理 Android 上的應用程序暫停/恢復)
      1. <small id='XqBTB'></small><noframes id='XqBTB'>

              <tfoot id='XqBTB'></tfoot>
              <legend id='XqBTB'><style id='XqBTB'><dir id='XqBTB'><q id='XqBTB'></q></dir></style></legend>
                <tbody id='XqBTB'></tbody>
            • <i id='XqBTB'><tr id='XqBTB'><dt id='XqBTB'><q id='XqBTB'><span id='XqBTB'><b id='XqBTB'><form id='XqBTB'><ins id='XqBTB'></ins><ul id='XqBTB'></ul><sub id='XqBTB'></sub></form><legend id='XqBTB'></legend><bdo id='XqBTB'><pre id='XqBTB'><center id='XqBTB'></center></pre></bdo></b><th id='XqBTB'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='XqBTB'><tfoot id='XqBTB'></tfoot><dl id='XqBTB'><fieldset id='XqBTB'></fieldset></dl></div>
                <bdo id='XqBTB'></bdo><ul id='XqBTB'></ul>
                  本文介紹了在 Kivy 中處理 Android 上的應用程序暫停/恢復的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我開始使用 Kivy for Android 開發一個應用,今天成功地構建和運行了一個 APK.

                  I started developing an app with Kivy for Android and managed to build and run an APK today.

                  在不經過初始化/加載屏幕的情況下,找不到關于如何處理我的應用被用戶暫停和恢復的直接答案?有沒有一種特殊的機制可以處理這個問題?

                  Couldn't find a straight answer on how to handle my app being suspended and resumed by a user without going through the initialization/loading screen? Is there a special mechanism that will handle this?

                  每次我將應用程序發送到后臺并將焦點帶回它時,都會彈出加載屏幕,這很煩人.

                  It is rather annoying that every time I send the app to the background and bring focus back to it there is that loading screen popping up.

                  推薦答案

                  我沒用過Kivy,也沒開發過android,但是我找到了:

                  I have never used Kivy or developed for android, but I was able to find:

                  這個

                  來自鏈接:

                  如果您只是希望您的應用程序不完全關閉(這樣它就不會每次都以啟動畫面等方式完全重新啟動),您只需向您的 App 類添加一個 on_pause 方法,它應該會返回真的.您還可以在此方法中執行任何暫停前的操作.但是,應用程序并沒有真正保持運行,它只是保持內存狀態.

                  If you just want your app to not be closed completely (so that it doesn't restart entirely with the splash screen etc. every time), you just have to add an on_pause method to your App class, and it should return True. You can also do any pre-pause stuff in this method. However, the app doesn't really keep running, it just keeps memory state.

                  如果您希望它在后臺進行計算,您可以使用 Python-for-android.

                  If you want it to do computations in the background you can use Python-for-android.

                  這篇關于在 Kivy 中處理 Android 上的應用程序暫停/恢復的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  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 有多可靠,多久更新一次?)
                  How to detect Location Provider ? GPS or Network Provider(如何檢測位置提供者?GPS 或網絡提供商)
                  Get current location during app launch(在應用啟動期間獲取當前位置)
                  locationManager.getLastKnownLocation() return null(locationManager.getLastKnownLocation() 返回 null)

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

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

                            主站蜘蛛池模板: 99热最新| 日本中文字幕一区 | 精品免费国产视频 | 免费一区| 91亚洲国产成人久久精品网站 | 婷婷综合五月天 | 免费观看成人鲁鲁鲁鲁鲁视频 | 日韩中文字幕在线播放 | 国产一区2区 | 日韩欧美视频免费在线观看 | 国产精品欧美一区二区三区 | 亚洲视频免费在线观看 | 人人干超碰 | 久久激情网 | av片免费| 亚洲大片在线观看 | 欧美一区二区成人 | 欧美福利 | av黄色国产 | 午夜欧美 | 国产精品成人一区二区三区吃奶 | 欧美一级片中文字幕 | 国产精品国产精品国产专区不片 | 亚洲精品免费在线 | 日本高清不卡视频 | 成年人在线电影 | 日韩一区二区av | 天天天天操 | 精品自拍视频 | 国产精品五月天 | 玖玖视频网| 欧美一卡二卡在线观看 | 国产激情一区二区三区 | 亚洲欧美国产毛片在线 | 国产二区三区 | 国产视频亚洲视频 | 一区二区在线免费观看视频 | 91精品国产综合久久精品图片 | 国产精品色 | 夜夜爽99久久国产综合精品女不卡 | 久久久久无码国产精品一区 |