About Local Storage

Hi buddy,
I want to store the app data(form data) to the local Storage… My confusion is that Where should be the app data saved in the local storage…??? In inbuild memory or in the external memory…??? Because I am very new to this topic…

Thanks Buddy…

If you’re talking about the HTML5 LocalStorage API, as far as I know there are no possibilities to choose the location of the “phisical” data…

Here is a topic about this http://stackoverflow.com/questions/8634058/where-the-sessionstorage-and-localstorage-stored with some links for Firefox and Chrome.

Thanks for your information buddy

Thanks buddy… But i am asking for application which is going to be installed in phone…

So you don’t speak of the html5 Local Storage. Check this http://ngcordova.com/docs/#File

1 Like

@dr9493 about the HTML5 localStorage, I have no idea about this, but since Hybrid apps use a webview, localStorage should be stored somewhere in the context of the app, when the app is uninstalled the data is lost.

Thanks for your information buddy…

Thanks for your link buddy…

or when the application cache is cleared, that data is lost too: including login details.

You can use sqlite plugin for storing data in device database.