Phonegap how to save permanent data on android
cordova, database, local-storage
Solution
I'm using the localstorage and this is the best solution to keep saved data. Like you said, it isn't 100% permanent. In my case the localstorage is cleared only if you uninstall the app. Find more info about localstorage with Phonegap http://docs.phonegap.com/en/2.1.0/cordova_storage_storage.md.html#localStorage
You could get more info about localstorage on http://diveintohtml5.info/storage.html
You could use a database as well. You can find info on this at http://docs.phonegap.com/en/2.1.0/cordova_storage_storage.md.html#openDatabase
Problem
I'm looking for a method to save data permanently using `PhoneGap`. - `LocalStorage` - File I/O - ? I heard `LocalStorage` is not 100% permanent, but is somewhere in the alley. I wouldn't really like to begin with File I/O, because what I need is to create a database with recipes, and they need to stay. "Number 3" is what I'm asking about. Any suggestions? Thanks in advance :)