What are the situations a developer need to use HTML5 in android.
I am bit confused about when to use HTML5 in android. I need to develop an application like a report viewer from web server. In this case i also need to use some Android specific features like service, preferences, receivers, charts (with the help of third party library).
So i am little confused about what are the good situations to HTML in android apps...
Please help me by your suggestions or direct me a better article about this...
HTML5 allows you to write an application once and quickly deploy it to almost every operating system in existence. The responsive design capabilities of HTML5 are particularly well suited to the diverse screen sizes found on Android devices.
HTML5 mobile apps have clear advantages. They can be cheaper and easier to create because so many people know JavaScript. And since JavaScript runs on any browser, an HTML5 app will run on any mobile device (at least in theory).
What are HTML5 apps? An HTML5 mobile application is essentially a web page (or number of web pages) that's designed to function on a smaller screen. These apps can be used with any standard web browser, and they aren't tied to a mobile platform.
An HTML5 mobile app is a Web application developed with that version of the Web content standard and designed for smartphones, tablets and other handheld devices. HTML5 enables more complex functions than earlier versions of the standard, which means that files created with it can be more like apps than like content.
Please read this pdf . You can get better idea where to use html or where to use native android apps.
Android is to date the platform with many variants of using different browsers: WebKit-based Android browser, Opera Mini, Opera Mobile, Firefox, UCWeb, Google Chrome Android browser.
The default Android browser has some problems with HTML5. And the Chrome for Android is designed to solve it. It has almost perfectly latest HTML5 support: such as new elements, video –H.264 and WebM support- and audio tags, geolocation, hardware accelerated canvas (2D drawing), and all the CSS3 stuff, such as selectors, effects, media queries, transforms, transitions and animations, ect.
But while it's still not very popular because this new browser isn't available yet for Android 2.x and 3.x version, just for 4.x.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With