我是android开发的初学者,我应该开发一个无需连接即可运行的应用程序。我应该使用的最佳数据形式是什么(json,sqlite或Firebase)? 我的应用程序旨在将拉丁语言的文本实时翻译为英语。因此,我应该为每个英文字母存储所有对应的拉丁形式,这是我应该存储的表格:在此处输入图片描述
I am a beginner on android developpment,i should developpe an application that works without connection .What's the best form of data that i should use( json,sqlite or Firebase)? My application aims to translate text in latin language to the english language in real time .So i should store for each letter in english all the corresponding forms in latin and this is the table that i should store :enter image description here
推荐答案这是一个非常模糊的问题,很难回答。确实,SO非常适合于更详细的特定问题。
This is a quite a vague question which makes it difficult to answer. Really SO is best suited to a specific question with much more detail.
简而言之,Android具有多种离线存储选项
In short Android has a variety of offline storage options
- 共享首选项
- 内部存储
- 外部存储
- SqLite数据库
- Shared Preferences
- Internal Storage
- External Storage
- SqLite Database
所有都有优点和缺点,请在此处阅读: developer.android/guide/topics/data/data-storage.html
All have various pros and conns, have a read here: developer.android/guide/topics/data/data-storage.html
您还可以使用第三方解决方案,例如firebase,parse,google ect。所有人都有自己的特权,这取决于您的需求。
You can also use a third party solution such as firebase, parse, google ect. All have their perks, it depends on your needs.
祝你好运。
更多推荐
在Android应用程序上离线存储数据的最佳方法是什么?
发布评论