android - 安卓答题app的题目等数据采用什么方式存储比较好?
黄舟
黄舟 2017-04-17 15:49:16
0
1
468

刚开始学Android,做一个类似驾考宝典的app,请问一下题目,答案还有用户信息(账号密码,错题,做题记录)等数据应该用什么方式来存储,是用android的SQLite比较好么
说明:
题目不多,也只供内部交流
因为是大一新生所以最好给一个简单点的方法。。
后期可能会加上服务器做登录验证什么的

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
刘奇

There are three main methods of local data storage in Android: file, sharedpreference, and sqlite. In terms of simplicity, you can consider using sharedpreference to implement it. The storage method of sharedpreference is in the form of key value and has a complete read and write API. After all, it still depends on what your business is going to be like and your mastery of existing knowledge to decide which storage method is more suitable for you.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!