Flowella – accelerometer, timers and Qt Quick

November 30, 2010 by Merlin

Last month Nokia launched the improved version of the Flowella prototyping tool. The changes are not big, but are important. They can be grouped like this:

  1. Bug fixes
  2. New transition triggers
  3. Export to Qt Quick

Bug fixes

A developer/designer tool can have all the features in the world, but if you can’t save and later continue your hard work the tool will be discarded very soon. Earlier version of Flowella sometimes had trouble saving your current progress. The workflow could be messed up after loading or the connections between frames could be lost - very frustrating. The new version doesn’t have any of those problems. Saving, loading and exporting works as expected.

New transition triggers

The old way to go to the next screen was to click on the specified area. Although this was sufficient for basic testing, it doesn’t really reflect the way people use mobile phones. New Flowella adds more triggers.

Motion actions in Flowella

The first new triggers is accelerometer. The prototype can now respond to multiple motions. Just drag the arrow on the right side to the target screen.

Timers in Flowella

The second new trigger. It is great for rudimentary animation and non-interruptible actions (updating, authorizing, etc).

Export to Qt Quick

Qt logoBeside exporting to WRT and Flash Lite, you can now export to Qt Quick. Qt Quick is the new feature of Qt 4.7 and it allows you to create UI layout and behavior by using a language based on JavaScript. No C++, at least for the not-too-complicated stuff. If you’re familiar with web technologies, you’ll get around very quickly.

Here is the sample of the QML code generated by Flowella for one of the screens. It looks almost the same as the JavaScript object literal.

import Qt 4.7

Item {
   property string jumpToNode: ""
   signal jumpTo
   id: node
   focus: true
   Image {
      source: "Screenshot-20100930-165711.png"
   }
   Timer {
      id: timerTrigger
      interval: 500 /* Note: intervals must be > 0 for the timer to work */
      running: true
      repeat: false
      onTriggered: {
         jumpToNode = "3E579516-E275-5DF8-9AFE-99E9A6FC66B9.qml"
         node.jumpTo()
      }
   }
}

Using Maemo’s alarm framework with Qt – The basics

October 15, 2010 by Zoran

Whew, finally found some time to write another post. This time we’ll be using Maemo’s alarm framework to do, well, almost whatever we want at a specific time, or even repeatedly at specific times :) So let’s get to it.

Read the rest of this entry »

Using Maemo specific widgets with Qt

September 9, 2010 by Zoran

Maemo custom widgets with QtThe N900 is a piece of work. A smartphone running Linux. What more could a geek want? Well, for one thing, leveraging an existing application framework (Qt… wink, wink) for developing cool applications. And we would also like to be able to use platform specific widgets and whatnot. Well, duh.

Read the rest of this entry »

Custom push buttons on the N900 with Qt Style Sheets

September 3, 2010 by Zoran

QSS Custom buttons flowStandard push buttons on the N900 are functional and look good to boot. But let’s say you need something different for your next “instant-hit” app. Is there a quick and (relatively) painless way of getting that extra shine. Drumm roll, please. Enter the Qt Style Sheets…

Read the rest of this entry »