Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does it make sense to write an offline mobile web app in html5?

I am investigating options for a web app aimed at mobiles and one of the options is to write a standalone app that does not connect to the internet at all. Does it make sense to consider using HTML5 for this? The main reason for considering HTML5 as far as I'm concerned is the fact that it works cross-platform, but I just don't know if it makes any sense to consider this option if it will only be used offline once it has been initially downloaded.

Thanks in advance for your help!

like image 775
Phil Carter Avatar asked Dec 28 '22 04:12

Phil Carter


1 Answers

As mentioned, this is definitely possible. I think the other answers don't quite give enough information, or understand the question, so let me provide a bit more.

Yes, it is possible to create a mobile app in HTML, either from scratch by using PhoneGap as the platform, or by using a mobile framework such as jQuery Mobile.

PhoneGap allows you to create true mobile apps using HTML5, CSS & JavaScript, and utilising the PhoneGap API to utilise features found in smartphones such as a camera, motion sensor, gps, storage etc.

Using jQuery Mobile, you'll be creating a mobile website, which must be accessed using the phone's browser, however you are able to incorporate this framework into the PhoneGap platform. This allows you to create a more native feeling app in HTML5.

I think the question you should be asking is what language should I use?. It doesn't matter if the app is used online or offline. What matters is what language or platform you want to write it in. There are downsides to using HTML5 to write mobile apps (speed, scalability, quality, approval to name a few).

like image 89
jcrowson Avatar answered Dec 29 '22 19:12

jcrowson