Which minimum version of Android supports HTML5 Local storage?
android, html, local-storage
Solution
I would say that HTML5 storage is supported since API Level 7 (2.1) because the method that enable it in `WebSettings` Object says it here, but I think I'm using it on the Native browser since Android 2.0.
// 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 tells us that is Android 2.1+
Here is another article that is saying it's Android 2.0+ and giving an example on how detecting if localStorage is supported.
Problem
Also, how to test if the browser in device supports local storage?