search

Home  >  Q&A  >  body text

android - 安卓答题app的题目等数据采用什么方式存储比较好?

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

黄舟黄舟2770 days ago504

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-04-17 15:51:16

    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.

    reply
    0
  • Cancelreply