Android data storage - File vs SQLite

前端 未结 3 1424
别跟我提以往
别跟我提以往 2020-12-16 01:45

I am developing an application that periodically sends information to an external server. I make a local copy of the data being sent, for backup purposes.

What is t

3条回答
  •  温柔的废话
    2020-12-16 02:11

    Is your application multi-threaded? If you have multiple threads accessing the data store then I would go with SQLite. Let SQLite worry about locking issues.

提交回复
热议问题