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

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

      <tfoot id='ghLdc'></tfoot>

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

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

        在 Android 上的 kivy 中保存應用數據

        Save app data in kivy on Android(在 Android 上的 kivy 中保存應用數據)
        • <tfoot id='WDOoh'></tfoot>
            <bdo id='WDOoh'></bdo><ul id='WDOoh'></ul>
            <legend id='WDOoh'><style id='WDOoh'><dir id='WDOoh'><q id='WDOoh'></q></dir></style></legend>
              <tbody id='WDOoh'></tbody>

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

                • 本文介紹了在 Android 上的 kivy 中保存應用數據的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  假設我正在制作一個健身應用程序,您可以在其中進行鍛煉.配置完鍛煉后,您會想要保存它.如何添加此功能,以便當他退出應用程序并再次打開應用程序時,他可以查看他的鍛煉情況?

                  Say I was making a fitness app where you can make your out workout. When you have configured the workout you would want to save it. How do I add this function so that when he exits the app and opens it again, he can view his workouts?

                  我專門在 Android 上工作.

                  I am working specifically on Android.

                  這可用于保存本地游戲存檔和數據.

                  This could be used to save local game saves and data.

                  推薦答案

                  我相信 Kivy 有一個模塊可以解決這個問題.雖然它仍然(在撰寫本文時)是實驗性的.看這里:http://kivy.org/docs/api-kivy.storage.html#module-kivy.storage

                  I believe Kivy has a module that deals with this. Though it is still(at the time of writing) experimental. Look here: http://kivy.org/docs/api-kivy.storage.html#module-kivy.storage

                  根據 this,他們似乎正在使用 Pickle 來存儲數據.

                  如果由于某種原因這不起作用,自己使用 Pickle/cPickle 怎么樣?如果您不知道這些是什么,請立即使用 Google 搜索.然后您可以將用戶設置或鍛煉存儲在一個字典中并腌制該字典,保存info 作為一個簡單的文本文件到 sdcard,它根本不應該占用太多空間.

                  If that doesn't work for some reason, what about using Pickle/cPickle yourself? If you don't know what those are, Google them now. Then you could store user settings or workouts in a dict and pickle that dict, saving the info to the sdcard as a simple text file, which shouldn't take up much space at all.

                  據我所知,cPickle 是一個更快的 Pickle 實現,因為它是用 C 或 Cython 編寫的,我不確定.希望這對您有所幫助.

                  As far as I know, cPickle is a faster implementation of Pickle due to being written in C or possibly Cython, I am not sure. Hope any of this helps.

                  值得注意的是,可以將文本文件保存到 Android 設備.我最近使用 Kivy 制作了一個游戲,我就是這樣做的,以純文本形式存儲高分.

                  It's worth noting that it's possible to save text files to the Android device. I recently made a game with Kivy where I was doing just that, storing high scores in plain text.

                  這篇關于在 Android 上的 kivy 中保存應用數據的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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)
                • <tfoot id='TTcis'></tfoot>

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

                        <legend id='TTcis'><style id='TTcis'><dir id='TTcis'><q id='TTcis'></q></dir></style></legend>
                          • <bdo id='TTcis'></bdo><ul id='TTcis'></ul>

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

                            主站蜘蛛池模板: 久久久成人免费一区二区 | 欧美456| 欧美性生活网 | 日日摸夜夜添夜夜添特色大片 | 日韩欧美二区 | 国产精品日韩欧美一区二区 | 精品日韩在线 | 欧美1—12sexvideos | 国产美女在线播放 | 极品的亚洲 | 欧美一级淫片免费视频黄 | 999久久久久久久久6666 | 秋霞在线一区 | 在线观看国产网站 | 99久久精品国产毛片 | 日本在线视频中文字幕 | 日日夜夜精品视频 | 久久国产精品精品国产色婷婷 | 拍真实国产伦偷精品 | 欧美日韩成人影院 | 日韩中文字幕 | 精品美女在线观看视频在线观看 | 成人午夜视频在线观看 | 一区二区国产精品 | 日本一卡精品视频免费 | 国产精品久久久久久久三级 | 91精品国产高清久久久久久久久 | 成人一区二区三区在线观看 | 毛片免费在线观看 | 精品国产乱码久久久久久影片 | 日韩美av | 国产精品成人69xxx免费视频 | 免费在线一区二区 | 久久er99热精品一区二区 | 国产精品一区二区视频 | 欧美一区中文字幕 | 中文字幕在线观看精品 | 国产大片黄色 | 亚洲视频一区二区 | 狠狠操天天干 | 一区二区三区欧美 |