简体   繁体   中英

Storing data while processing an app through phonegap

I am using the Phonegap platform for developing an app and this runs on nexus 5 android 4. The app is having a user interface through which it takes input from the user and processes it using the Javascript. My question is: Can I store/capture this data somewhere so that I can utilize it later. The utility can be sending the captured data to another server and getting a response from it for the specific data.

What is the best architectural way to accomplish this? Any thoughts highly appreciated.

There are many options to do this, IndexedDB, SQLite, localStorage, sessionStorage which are all HTML5 standards.

You might even be able to use XML file storage to do this.

Its your preference on what works best for you.

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