简体   繁体   中英

Phonegap android best storage to store large data

I am Creating an application which need to store large amount of text data. Which would be the best mechanism to store this? From cordova documentation I understood that possible ways are -

  1. sqllite database
  2. localstorage

Please let me know if any other ways are available. And which will be best for my app.

As you said cordova provide storage mechanisms here

But I don't know how much effective it would be for you as you need to store large amount of text data. Depends upon your data size.

Another better option i can suggest is using File API you can read/write into text files using this. Hope this will helpful.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM