Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML5 or Android [closed]

Tags:

html

android

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.

like image 225
naeem Avatar asked Jul 29 '11 17:07

naeem


People also ask

Does HTML5 work on Android?

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 is HTML5 in mobile app?

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.

What is HTML5 Android?

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.

Can HTML5 run on mobile?

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.


2 Answers

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?

like image 106
jBit Avatar answered Sep 20 '22 15:09

jBit


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.

like image 30
slandau Avatar answered Sep 19 '22 15:09

slandau