JavaScript mobile development platform

crossplatformThere are several approaches to building cross platform applications targeting mobile platforms.

Frameworks such as Mono allow development of a common application core, with a native user interface and platform specific integration developed on top of this for each platform.

Another approach is to share both the code base and the majority of the user interface between platforms – this results in a potentially non-native experience for some or all platforms targeted, but requires little to no modification to make the application available for each. This is often achieved using HTML and JavaScript running in a web application container.

This post investigates some of the options available for building mobile applications using HTML and JavaScript.

A PhoneGap based application lets the user know that an internet connection is required.Although a plain HTML website can be packaged as an application and distributed in the same way as a native application with the help of the tools covered in this post, there are some problems with this approach.

Firstly, Apple will not approve applications for distribution on the App Store that simply wrap a website, or provide a website look and feel. Adobe has about this, and various posts from users discussing App Store submissions being rejected on the PhoneGap newsgroup.

Secondly, user expectations are established around what an application provides over a website, and how the user experience of software installed on their device differs to viewing a web page. Some application distribution methods that do not enforce following platform guidelines may accept the application, but users will most likely not.

Taking a web page and packaging it is not the intended approach for these tools. They exist to provide the ability for application development using web technologies, with additional device integration that may not always be possible through a web browser; for example, they provide access to the camera, local data storage, user contacts, system notifications, checking network state, and using sensors such as the compass and accelerometer.

If the additional functionality provided by the tools is not required, or the application does not work while the user has no connection, there may be little value in making use of these containers rather than providing a regular website.


You might also like

Why old iPhones become sluggish over time  — Macworld
One of the unusual consequences of being in the computer business is that I tend to own more devices than the average person.

Q&A

avatar
Which mobile platform to develop for?

I want to develop apps for a mobile platform. I want to learn the code too BUT i have windows but want to do iOS but again I have windows. If possible I want to get a developer device too. If possible maybe Android but I would like details too. Maybe if I got the device I could test it too. Please tell me what I should do.
Thanks

Start by asking questions in the right category.