Reputation: 103
I am looking into the http://developer.android.com/reference/android/webkit/WebStorage.html API but it does not support writing to localStorage from Java. What I would like to do is to store data from the Java side of an android application to be read by the JavaScript side of the app.
For instance, in JavaScript I can use localStorage.getItem(), localStorage.setItem(). However, I cannot find similar API to accomplish the task from Java. Is there a workaround or it has not been implemented by the Android platform yet?
Any help would be appreciated!
Upvotes: 6
Views: 18177
Reputation: 199880
There are many ways to store data in an Android application, as detailed in the Storage Options guide:
Upvotes: 3