O'Reilly logo

Learning Firefox OS Application Development by Tanay Pant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Avoiding UI blunders

There are some really common UI blunders that you should avoid making when coding the frontend of your application. Some of the commonly observed mistakes include developers do not realize that packaged apps do not have navigation options (back and forward buttons) like a regular web application opening in the Web browser.

Unless of course, you make them visible in the application by adding the following code to your manifest file.

"chrome" : { "navigation" : true }

This code runs your application in full screen and hides the status bar as well. Make sure that you have navigation controls in your application, preferably in the header so that your users do not get stuck in a page from where they cannot navigate to other locations ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required