Sketch the Workflow

The first thing you should do when designing a mobile application is to "work out the workflow," so put that mouse down and grab a pencil and piece of paper, or grab a dry-erase marker and start drawing on a whiteboard. Draw simple boxes that represent each screen (or scene, as we call them) in your design. Connect them with arrows, so you know what will happen when the user taps an item on the screen and then take a step back and really examine what you designed.

Have you created a workflow that helps the user accomplish the most important things they'll do with your app, using the fewest steps? Remember that they may only have 15 seconds at a time to use your application. That's a humbling thought, isn't it? Make sure the workflow's smooth and efficient. Let's take a look at the Email app as an example.

image

Email's workflow accomplishes the user's primary goals, which are to:

  • Read emails quickly
  • Create email messages quickly
  • Reply/forward emails quickly

These are actually performance goals, which nicely complement the Email product's mission statement. Performance goals keep you honest, and help you focus on efficiency. When designing your application, think about the tasks that users need to do most often, and design your workflow so your users can do those things quickly and efficiently.

Sketching Your Scenes

Basic Elements

In HP webOS applications, we call each step in the workflow a "scene". A scene is analogous to a window or dialog box in a desktop application, or a page in a website design. A scene commonly contains the following elements:

  • Header (Optional)

    Displays a Fixed or Scrolling header, which is used to display the title of the scene, and any other controls that affect the view. There are two kinds:

    • A Fixed Header remains in place, even when the user scrolls content underneath it. Fixed headers are 50 px tall.

    • A Scrolling Header scrolls out of view when the user scrolls content underneath it. Its height can vary. The example below shows a scrolling header that is 68 px tall.

  • Scroll View

    The area that displays the UI Controls or information needed in the scene.

    • Similar to content in a web page or web application.

    • The user can scroll content in this area up and down freely.

  • Command Menu (Optional)

    Displays Command Buttons, which are used to perform the most important actions in the scene.

    • Buttons appear at the bottom of the scene, in the Command Menu area.

    • They float above the content in the Scroll View, when the user scrolls it. This means the buttons will always be visible.

  • Application Menu commands

    Appears in the upper left hand corner of the display, in the Status Bar.

    • Is used to display commands for the "other actions" a user may need to perform in a scene.

    • You can insert new commands in the App Menu in each scene.

image

Scene Dimensions

Each webOS device has a specific screen size, and certain OS-based elements will occupy a fixed amount of space on that screen. Many developers ask "How much space will I have to design with in a scene" and the answer is "It depends." To answer the question, you need to know which items the OS will display, and how tall each area is. There are also elements that are commonly included in scenes that require a fixed amount of space. Let's use the Palm Pre as an example. Its screen is 320 pixels wide by 480 pixels high (portrait mode) and 480 x 320 (landscape mode).

OS-Controlled Areas

  • The Status Bar appears at the top of the screen and is 28 pixels high. It contains the Application Menu, the Time and the Connection menu. It occupies 28 pixels of height and is always displayed.

  • The Notification Bar appears at the bottom of the screen when a background application posts a notification. When it appears, it pushes the bottom of your application upward by 28 pixels.

    Apps like Email or Messaging display banner notifications and dashboard summary icons in this area regularly. It's a good idea to "plan" that something will appear in this space when you're designing your app.

  • Popup Notifications can also appear, and they vary in height. They can be as large as half the screen height, depending on what they're informing the user about.

    Users typically see a popup notification and interact with it immediately, and it either disappears completely, or minimizes to the Notification Bar, occupying only 28 pixels of height.

    It's not necessary to worry about the height of Popup Notifications when designing your scene. They overlay your scene for a moment, and disappear quickly.

Common Scene Elements

  • Scenes commonly contain a Fixed Header or a Scrolling Header, to serve as a title and contain other controls (if needed).

    • Scrolling Headers can be almost any height. We suggest 50 pixels, but you can set them to be any size. Scrolling headers scroll out of view when a user scrolls the scene.

    • Fixed Headers stay in one location, and have a fixed height (50 pixels). They float above content from the scene when the user scrolls up and down.

    • View Menus consist of a Fixed Header and a popup menu that can be used to control what is displayed in the scene below. They are 50 pixels tall and float above the scene, as well.

  • Scenes commonly contain Command Buttons in the Command Menu Area. This area is 50 pixels high and can contain up to 5 items. They float above content from the scene when the user scrolls up and down.

As you can see, the answer to the question "how much space do I have in a scene" is not a simple one. It really depends on the screen size, what the OS displays, and what you have chosen to include in your scene. Here's an example to see how it would work on a scene on the Palm Pre. If a scene included a fixed header (50 pixels) and we wanted to account for the appearance of notifications (28 pixels) plus the always-present Status Bar (28 pixels), we have to assume that 106 pixels would be taken up by these things. On the Palm Pre, we'll be able to display the following amount of content in a scene: 320 wide x 374 high in Portrait mode and 480 wide x 214 high in Landscape mode (if the app supports rotation).

Some Apps Are Different

We understand that some application designers and developers want to create a "clean, immersive experience, free of any unnecessary OS clutter." This is common desire among people who develop Games and Media applications. The webOS platform allows developers to run their app in "Full Screen Mode" for such occasions. This allows the application to take over the entire screen, hiding the Status and Notification Bars. The only notifications that are NOT suppressed are popup Notifications, which is a good thing. The OS allows those notifications to come through so the user won't miss an important phone call or meeting reminder.