久久久久久久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 中保存應(yīng)用數(shù)據(jù)

        Save app data in kivy on Android(在 Android 上的 kivy 中保存應(yīng)用數(shù)據(jù))
        • <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 中保存應(yīng)用數(shù)據(jù)的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

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

                  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.

                  這可用于保存本地游戲存檔和數(shù)據(jù).

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

                  推薦答案

                  我相信 Kivy 有一個模塊可以解決這個問題.雖然它仍然(在撰寫本文時)是實(shí)驗(yàn)性的.看這里: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

                  根據(jù) this,他們似乎正在使用 Pickle 來存儲數(shù)據(jù).

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

                  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.

                  據(jù)我所知,cPickle 是一個更快的 Pickle 實(shí)現(xiàn),因?yàn)樗怯?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 設(shè)備.我最近使用 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.

                  這篇關(guān)于在 Android 上的 kivy 中保存應(yīng)用數(shù)據(jù)的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  Get user#39;s current location using GPS(使用 GPS 獲取用戶的當(dāng)前位置)
                  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 或網(wǎng)絡(luò)提供商)
                  Get current location during app launch(在應(yīng)用啟動期間獲取當(dāng)前位置)
                  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'>

                            主站蜘蛛池模板: 大尺度性做爰的小说金陵春 | 三级在线免费观看 | 91丝袜一区在线观看 | 手机看片欧美 | 天天天天天操 | 黄色大片免费观看 | 成人性色生活片 | 成人国产精品久久久网站 | 国产精品一区二区av | 亚洲国产中文字幕 | 久久免费网 | 中国农村毛片免费播放 | 久热国产视频 | 免费成人深夜夜行网站 | 九九九久久久 | 少妇一级片 | 欧美综合网 | 中文字幕在线一区二区三区 | 在线观看黄网站 | 亚洲精品91天天久久人人 | 国产中文字幕一区二区 | 欧美一区二区精品 | 亚洲精品www久久久久久广东 | 四虎黄色影院 | 欧美在线观看一区 | 国内精品国产成人国产三级 | 一区二区免费 | 亚洲综合精品 | 午夜激情网 | 黄色网址在线免费观看 | 91看片在线观看 | 欧美三级韩国三级日本三斤在线观看 | 亚洲免费在线 | 三级视频网 | 欧美激情小视频 | 中文字幕在线免费视频 | 三级在线观看 | 亚洲天堂免费 | 欧美精品二区 | 黄a视频 | 中文在线观看视频 |