Also, how can I check if the browser on the device supports local storage?
I would say that HTML5 repository is supported with API level 7 (2.1), because the method that includes it in the WebSettings Object says it is here , but I think I use it in a native browser with Android 2.0.
WebSettings
// Javascript Test if (typeof window.localStorage == 'object') { // localStorage is supported } else { // localStorage is not supported }
http://jsfiddle.net/kcckq/
Here is a blog post that says it is Android 2.1 +
Here's another article that talks about Android 2.0+ and gives an example of how to detect if localStorage is supported.
Source: https://habr.com/ru/post/916747/More articles:https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/916742/how-to-setup-svn-repository-in-xcode&usg=ALkJrhjspwooHiLVaUXu-gvFG7zOdn-bpQHow to fix slash issue in windows path in python? - pythonExtract field list from reStructuredText - pythonListening to udp cast using boost library - c ++reading associative arrays from a file - bashBuffer overflow - program terminates after shell spawning - assemblyRspec errors for administrative "remote" links fail. Michael Hartl ROR 3.2 Study Guide - Chapter 9.4.2 - ruby-on-railsPrevent focusing windows python - pythonHow do I call a job recipe in celery - djangoJavascript, CSS: get element attribute by style - javascriptAll Articles