在Android中使用SQLite的优势优势、Android、SQLite

由网友(嗯哼)分享简介:我必须提出一项的问题在我的脑海里的为什么我们经常的使用SQLite在android系统?有更多的选项也有,但为什么SQLITE?选项​​像:: I have raise one question in my mind that Why we are frequently use SQLITE in android?...

我必须提出一项的问题在我的脑海里的为什么我们经常的使用SQLite在android系统?有更多的选项也有,但为什么SQLITE?选项​​像::

I have raise one question in my mind that Why we are frequently use SQLITE in android? there are more option are available but why SQLITE? option like ::

使用共享preferences 使用内部存储 使用外部存储 使用网络连接 Using Shared Preferences Using the Internal Storage Using the External Storage Using a Network Connection

为什么它是如此的易用

推荐答案

如果你有复杂的数据,即其可以或可以不彼此相关庞大的数据。但他们希望在不同的视图中显示在不同的方式,然后你会怎样preFER?

If you have complex data ie huge data which may or may not related to each other. But they want to be displayed in separate way in different views then what will you prefer?

SQLITE VS共享preference SQLite数据库是为大项(如万条记录)。 SQLite数据库也可以查询和数据检索是更健壮。 SQLite数据库增加了巨大的力量来输入。

SQLITE vs Shared Preference A SQLite database is meant for huge of entries(eg thousands of records). SQLite database can also be queried and the data retrieval is much more robust. The SQLite database adds immense power to your entries.

SQLITE VS外部存储Wxternal数据可以由用户在任何时间点被删除

SQLITE vs External Storage Wxternal data can be deleted by user at any point of time

SQLITE VS内部存储如果你婉查询数据,存储在结构化的方式将数据你WIL preFER的SQLite

SQLITE vs Internal Storage If you wan to query your data, store the data in structured manner you wil prefer SQLite

阅读全文

相关推荐

最新文章