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

  1. <legend id='0CcbJ'><style id='0CcbJ'><dir id='0CcbJ'><q id='0CcbJ'></q></dir></style></legend>
  2. <tfoot id='0CcbJ'></tfoot>
      <bdo id='0CcbJ'></bdo><ul id='0CcbJ'></ul>

    <small id='0CcbJ'></small><noframes id='0CcbJ'>

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

    1. Android kivy 在哪里放置應用程序文件(ini、images d

      Android kivy where to put application files (ini, images db etc)(Android kivy 在哪里放置應用程序文件(ini、images db 等))
      • <bdo id='xLyvk'></bdo><ul id='xLyvk'></ul>
        <i id='xLyvk'><tr id='xLyvk'><dt id='xLyvk'><q id='xLyvk'><span id='xLyvk'><b id='xLyvk'><form id='xLyvk'><ins id='xLyvk'></ins><ul id='xLyvk'></ul><sub id='xLyvk'></sub></form><legend id='xLyvk'></legend><bdo id='xLyvk'><pre id='xLyvk'><center id='xLyvk'></center></pre></bdo></b><th id='xLyvk'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='xLyvk'><tfoot id='xLyvk'></tfoot><dl id='xLyvk'><fieldset id='xLyvk'></fieldset></dl></div>

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

              <tbody id='xLyvk'></tbody>
              <tfoot id='xLyvk'></tfoot><legend id='xLyvk'><style id='xLyvk'><dir id='xLyvk'><q id='xLyvk'></q></dir></style></legend>

                本文介紹了Android kivy 在哪里放置應用程序文件(ini、images db 等)的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我已經使用 kivy 為 Android 創(chuàng)建了一個原型應用程序.它已在 buildozer 中編譯,我已上傳到 Android 設備.

                I've created a prototype application for Android using kivy. It has compiled in buildozer and I've uploaded in to an Android device.

                但我不確定將應用程序相關文件(如 ini 文件、圖像數據庫等)放在哪里.

                But I'm nor sure where to put app dependent files like the ini file, images database etc.

                非常感謝任何幫助

                當我問這個問題時(很多個月前),我對 kivy 和 buildozer 的整個想法都是新手.

                When I asked this question (many moons ago) I was new to kivy and the whole idea of buildozer.

                我沒有意識到以及對于初學者來說不明顯的事情(見證這個問題被查看的次數)以及 @inclement 的答案沒有解決的問題是 Buildozer 將整個 python/kivy 項目包裝到一個可以包含所有 static 數據的文件.因此,您只需要確保您的 buildozer 規(guī)范能夠接受它們.

                What I didn't realise and what isn't obvious to a beginner (witness the number of times this question has been viewed) and which @inclement's answer does not address, is that Buildozer wraps the whole python/kivy project into a single file which can include all of your static data. So you just need to make sure your buildozer spec picks them up.

                推薦答案

                您可以安排他們品嘗 - 只要您告訴 buildozer 包含它們 apk(即通過設置要包含的文件類型、目錄等)并訪問它們在您的代碼中具有相對路徑,它們將在設備上以相同的方式工作.

                You can arrange them to taste - as long as you tell buildozer to include them apk (i.e. by setting the file types, directories etc to be included) and access them with relative paths in your code, they will work the same way on the device.

                ini 文件可能是一個例外,我不確定 kivy 嘗試從哪里加載它(但它可能位于外部數據目錄中的某個位置).如果將它放在與 main.py 相同的目錄不起作用,也許您可??以使用相對路徑手動加載它,或者如果它只有幾個值,那么您可以在 main.py 文件中設置它們.

                The ini file may be an exception, I'm not sure offhand where kivy tries to load it from (but it may be somewhere in the external data dir). If putting it in the same directory as main.py doesn't work, maybe you could load it manually with a relative path, or if it has just a few values then you could set them in the main.py file.

                這篇關于Android kivy 在哪里放置應用程序文件(ini、images db 等)的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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)

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

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

                        <tfoot id='TjUXy'></tfoot>

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

                          主站蜘蛛池模板: 人人干人人爽 | 久久午夜视频 | 国产精品一区二区三 | 黄频免费 | 日本黄色免费片 | 国产91在线播放 | 国产免费又色又爽又黄在线观看 | 日韩伦理一区二区 | 亚洲欧美国产精品一区二区 | 精品国产免费人成在线观看 | 欧美精品黄 | 在线看91 | 国产福利在线播放 | 日韩精品一区二区三区中文字幕 | 成人免费视频观看视频 | 美女久久| 亚洲欧美日韩精品久久亚洲区 | 黄色在线观看网址 | 一级特黄a大片 | 仙人掌旅馆在线观看 | 日韩精品一区二区三区 | 中文字幕精品一区久久久久 | 欧美一区二区免费电影 | 日韩激情在线 | 久久高清| 岛国在线免费观看 | 午夜影晥 | 欧美精品久久久久 | 久久久久久久国产精品 | 亚洲欧美视频在线观看 | 成人伊人 | 欧洲亚洲一区二区三区 | 免费观看一级特黄欧美大片 | 2021天天躁夜夜看 | 久久久久久久久毛片 | 中文字幕在线精品 | 国产精品国产三级国产aⅴ中文 | 精品欧美一区免费观看α√ | 欧美午夜激情在线 | 久久精品国产一区 | 欧美视频 亚洲视频 |