Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 3 of 3 total |
LocalStorage Android |
Tue, Jan 21 2014 6:38 AM | Permanent Link |
tristar | Heya guys!
I'm making simple application and I need store some data in LocalStorage. It works ok on chrome or other browsers but when I use this on Android device it can not store data. Any clue how to use LocalStorage on Android? Little background: I created simple WebView application with AndroidStudio, and when is running it shows index.html created by EWB. I can install APK file to Android device, I use this permissions for the WebView application: <uses-permission android:name="android.permission.INTERNET"></uses-permission> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"></uses-permission> I have attached my simple todo example project. Thanks in advance! Attachments: ToDo.zip |
Tue, Jan 21 2014 8:06 AM | Permanent Link |
tristar | Ok. Here is solution to that problem:
webSettings.setDomStorageEnabled(true); this line is need in AndroidStudio project for WebView.. so thanks for reading anyway <<tristar wrote: Heya guys! I'm making simple application and I need store some data in LocalStorage. It works ok on chrome or other browsers but when I use this on Android device it can not store data. Any clue how to use LocalStorage on Android? Little background: I created simple WebView application with AndroidStudio, and when is running it shows index.html created by EWB. I can install APK file to Android device, I use this permissions for the WebView application: <uses-permission android:name="android.permission.INTERNET"></uses-permission> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"></uses-permission> I have attached my simple todo example project. Thanks in advance!>> |
Tue, Jan 21 2014 10:12 AM | Permanent Link |
Matthew Jones | Thanks for posting the solution.
/Matthew Jones/ |
This web page was last updated on Friday, November 1, 2024 at 07:01 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |