I have done a bit of research on HTML5 and started doing minor programming on Android. My questions is whether I should concentrate on HTML5 programming or Android. I understand that with HTML5 I should be able to write once and then port for any platform(Android, iOS, BB) but only with Android that is not the case.
Any advise, suggestions, comments are welcome.
On mobile operating systems like Android, iOS, Windows Phone and Blackberry, HTML5 applications are usually hosted inside Apache Cordova (aka PhoneGap). Apache Cordova fills the role of interfacing your HTML5 application to the native operating system.
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.
HTML5 pros and cons And since JavaScript runs on any browser, an HTML5 app will run on any mobile device (at least in theory). Speed has also improved.
May I recommend a very excellent session from Google I/O 2011:
Google I/O 2011: HTML5 versus Android: Apps or Web for Mobile Development?
jBit's link is very good, but it's also over an hour long. By all means, watch it, it's very informational and probably better than almost any other answer you're going to get, however if you want something a little bit more summed up and quick, check out this link.
It's from a conference in Philadelphia. Basically, the main point of the article is - you need both. HTML5 and programming for each mobile device through their native platform, each have there pros and cons, and the pipe dream of creating one "app" to run on every device the same way is by no means accessible...yet.
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