[android-developers] Re: Android WebView and HTML5
On Oct 29, 7:09 pm, Miguel Paraz mpa...@gmail.com wrote: On Oct 30, 1:30 am, Joe Bowser bows...@gmail.com wrote: Has anyone got the Database going on WebView? I've gotten it to work on the browser itself on the Emulator (using the Stickies example), but not in the WebView. I noticed that Google added setDatabaseEnabled and setDatabasePath, but there's no examples or source anywhere that's actually using this code. I'm guessing that Geolocation in the WebView has similar issues, but I haven't tried to use the WebView geolocation as of yet. That's not good. I thought thatHTML5was already built in the browser, and not a Plugin like the (now deprecated) Gears. It IS built in, but you still have to turn it on and specify where you store the Database in Java if you're using WebView. The problem is that there's not an example of how to use local SQLite databases with your app as of yet. Eclair will have a solution to this, since the Browser Activity is written using the API, but as of right now it doesn't seem to work properly. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android WebView and HTML5
Hey Has anyone got the Database going on WebView? I've gotten it to work on the browser itself on the Emulator (using the Stickies example), but not in the WebView. I noticed that Google added setDatabaseEnabled and setDatabasePath, but there's no examples or source anywhere that's actually using this code. I'm guessing that Geolocation in the WebView has similar issues, but I haven't tried to use the WebView geolocation as of yet. On Oct 28, 2:28 am, Miguel Paraz mpa...@gmail.com wrote: Hi, On Oct 9, 6:37 pm, Anton Pirker an...@ignaz.at wrote: Hey fellow Androids! I am experimenting with Androids WebView[1] and itsHTML5features. I have written a little webpage with does the features detection like described here:http://diveintohtml5.org/detect.html And now I see (I am on a SDK1.6 Emulator) that the LocalStorage, the WebWorkers and Offline Web Applications are not supported! Does anyone know when these features will be supported? Or does anyone know the exact version (or build) of the webkit engine, that is used in Android1.6? Any hints are greatly appreciated! Looks like we have a pleasant surprise inAndroid2.0. I triedhttp://diveintohtml5.org/detect.htmlin a WebView, and it does the detection. However, it seems that the touch UI has some limitations. I tried the examples inhttp://htmlfive.appspot.com/and they don't work in the touch UI. The video tag doesn't support the sample which is an Ogg file - maybe it supports 3GPP only? We'll find out when we see the Eclair source. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android WebView and HTML5
On Oct 30, 1:30 am, Joe Bowser bows...@gmail.com wrote: Has anyone got the Database going on WebView? I've gotten it to work on the browser itself on the Emulator (using the Stickies example), but not in the WebView. I noticed that Google added setDatabaseEnabled and setDatabasePath, but there's no examples or source anywhere that's actually using this code. I'm guessing that Geolocation in the WebView has similar issues, but I haven't tried to use the WebView geolocation as of yet. That's not good. I thought that HTML5 was already built in the browser, and not a Plugin like the (now deprecated) Gears. I hope the open source tree for Eclair would be released soon so we can take a look at the inside. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android WebView and HTML5
Hi, On Oct 9, 6:37 pm, Anton Pirker an...@ignaz.at wrote: Hey fellow Androids! I am experimenting with Androids WebView[1] and itsHTML5features. I have written a little webpage with does the features detection like described here:http://diveintohtml5.org/detect.html And now I see (I am on a SDK1.6 Emulator) that the LocalStorage, the WebWorkers and Offline Web Applications are not supported! Does anyone know when these features will be supported? Or does anyone know the exact version (or build) of the webkit engine, that is used in Android 1.6? Any hints are greatly appreciated! Looks like we have a pleasant surprise in Android 2.0. I tried http://diveintohtml5.org/detect.html in a WebView, and it does the detection. However, it seems that the touch UI has some limitations. I tried the examples in http://htmlfive.appspot.com/ and they don't work in the touch UI. The video tag doesn't support the sample which is an Ogg file - maybe it supports 3GPP only? We'll find out when we see the Eclair source. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android WebView and HTML5
As a explanation. I have written an app which displays an WebView that loads my html page with the features-testing scripts describet here: http://diveintohtml5.org/detect.html As a workaround for the missing features i had the idea that i could write my own WebView with an nightly version of webkit. Do you think this is a good idea to do? I do not know how big a compiled version of webkit is and if android has its own optimized version of webkit. Has anyone done something similiar? Thanks, Anton On Oct 9, 12:37 pm, Anton Pirker an...@ignaz.at wrote: Hey fellow Androids! I am experimenting with Androids WebView[1] and its HTML5 features. I have written a little webpage with does the features detection like described here:http://diveintohtml5.org/detect.html And now I see (I am on a SDK1.6 Emulator) that the LocalStorage, the WebWorkers and Offline Web Applications are not supported! Does anyone know when these features will be supported? Or does anyone know the exact version (or build) of the webkit engine, that is used in Android 1.6? Any hints are greatly appreciated! Thanks, Anton [1]http://developer.android.com/reference/android/webkit/WebView.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android WebView and HTML5
Anton Pirker wrote: As a workaround for the missing features i had the idea that i could write my own WebView with an nightly version of webkit. Do you think this is a good idea to do? Only if you have a team of ~10 engineers and a substantial budget. I do not know how big a compiled version of webkit is and if android has its own optimized version of webkit. Android has a number of optimizations for its use of WebKit, not the least of which is using Skia for the rendering engine. And now I see (I am on a SDK1.6 Emulator) that the LocalStorage, the WebWorkers and Offline Web Applications are not supported! LocalStorage might work with the full Browser application with Google Gears enabled -- I'm a little fuzzy as to whether Gears offers official HTML5 LocalStorage support. WebView does not support Gears. Does anyone know when these features will be supported? The Android project is not fond of forward-looking statements like project plans and timelines. I have to imagine it is relatively high on their list, since Google as a whole is seriously behind HTML5 (see Google Wave). However, even then, I imagine that some features (e.g., Offline Web Applications) might be a wee bit tricky to add to Android, so complete HTML5 support may not be easy. Or does anyone know the exact version (or build) of the webkit engine, that is used in Android 1.6? I am under the impression that there is a way to determine this, as somebody mentioned a WebKit version in passing at MOTODEV Summit, but I don't remember what he said the version was nor how to figure it out. Sorry I don't have any more info on that facet of your question. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android WebView and HTML5
Hi Mark! Thanks for the reply! Mark Murphy wrote: Anton Pirker wrote: As a workaround for the missing features i had the idea that i could write my own WebView with an nightly version of webkit. Do you think this is a good idea to do? Only if you have a team of ~10 engineers and a substantial budget. I do not know how big a compiled version of webkit is and if android has its own optimized version of webkit. Android has a number of optimizations for its use of WebKit, not the least of which is using Skia for the rendering engine. Ok, so i skip that idea ;) And now I see (I am on a SDK1.6 Emulator) that the LocalStorage, the WebWorkers and Offline Web Applications are not supported! LocalStorage might work with the full Browser application with Google Gears enabled -- I'm a little fuzzy as to whether Gears offers official HTML5 LocalStorage support. WebView does not support Gears. It should be possible without gears. The iphones version of webkit does in fact support LocalStorage and Offlien Web Applications. Does anyone know when these features will be supported? The Android project is not fond of forward-looking statements like project plans and timelines. I have to imagine it is relatively high on their list, since Google as a whole is seriously behind HTML5 (see Google Wave). However, even then, I imagine that some features (e.g., Offline Web Applications) might be a wee bit tricky to add to Android, so complete HTML5 support may not be easy. yes, google never tells stuff about release plans (not even on the developer days) so we are in the dark here... Or does anyone know the exact version (or build) of the webkit engine, that is used in Android 1.6? I am under the impression that there is a way to determine this, as somebody mentioned a WebKit version in passing at MOTODEV Summit, but I don't remember what he said the version was nor how to figure it out. Sorry I don't have any more info on that facet of your question. Thanks for all your comments. Have a nice day, Anton --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android WebView and HTML5
Hi, You can see a comparison of the different WebKit implementations here: http://www.quirksmode.org/webkit.html On Oct 9, 8:00 pm, Mark Murphy mmur...@commonsware.com wrote: And now I see (I am on a SDK1.6 Emulator) that the LocalStorage, the WebWorkers and Offline Web Applications are not supported! LocalStorage might work with the full Browser application with Google Gears enabled -- I'm a little fuzzy as to whether Gears offers official HTML5 LocalStorage support. It's a different API with the same features (practically), thus this abstraction project: http://code.google.com/p/webstorageportabilitylayer/ which I believe is what GMail for WebKit uses. Or does anyone know the exact version (or build) of the webkit engine, that is used in Android 1.6? I am under the impression that there is a way to determine this, as somebody mentioned a WebKit version in passing at MOTODEV Summit, but I don't remember what he said the version was nor how to figure it out. Sorry I don't have any more info on that facet of your question. It's in the open source tree, ./external/webkit/configure.ac - right now it's 1.0.3. See the top part of: http://android.git.kernel.org/?p=platform/external/webkit.git;a=blob_plain;f=configure.ac;hb=HEAD --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---