Now, you will be study how to port existing web applications to Firefox OS; that is, how to make Firefox OS applications out of them. We will go through the workflow of converting a web application to a Firefox OS application, based on the differences that you studied in the previous chapters. Here, we will use the example of Clickr (which was originally a web application and is still live at http://stockwolf.net/clickr/) and see how we converted this to a Firefox OS app. The web application looks like the following:
To convert a regular web application (without making any code changes) such as Clickr, we need to add an application manifest file to the root of the application that specifies details about the application. In addition to this, we need to add assets such as icons for the operating system to display them after the application has been installed.
However, these things get complicated...