Ubuntu HTML5 platform: introduction
The importance of HTML5 to develop mobile applications rises sharply. This is mainly due to the increased amount of mobile platforms and to the popularity of HTML5 amongst developers. So, it is not surprising that HTML5 is, together with native apps, a first class citizen of Ubuntu Touch.
I will cover the following themes:
- Apache Cordova and the Ubuntu HTML5 Theme
- The Ubuntu HTML5 widgets (Part 1)
- The Ubuntu HTML5 widgets (Part 2)
- The Ubuntu HTML5 widgets (Part 3)
- The Ubuntu HTML5 widgets (Part 4)
- Making the application look and feel more "native"
- Convergence: make an application look good on tablets and on phones
- Testing the application and packaging it
- Making it run on other platforms too
Ubuntu HTML5 theme
One of the main points of Apache Cordova is that it facilitates "cross-platform development" for mobile platforms. However, users don't want the user interface to look and to behave the same on all platforms. Even on the same platform, the look and feel can change between versions. This was the case for example with Android 4.0 and will be the case with iOS 7.
For that, Apache Cordova is often used with UI frameworks such as jQuery Mobile, Dojo Mobile or Sencha Touch, that provide a near-native look and feel. In the case of Ubuntu Touch, the Ubuntu HTML5 Theme is used. The Ubuntu HTML5 Theme makes an Apache Cordova application almost look like a native Ubuntu applications. Its GNU LGPL v3 license allows it to be used in closed-source commercial applications, as long as the changes made to Ubuntu HTML5 Theme are redistributed under the same license.
I introduce the basics of the Ubuntu HTML5 Theme in the next article: Part 2.