Responsibly invading events page in Nokia N9

If you ask me which is the best feature in N9 other than swipe, the answer is Events Page. It gives a glance at the stream of data from your social networks, messaging and of course third party apps without opening any of these. The only other OS that integrated events elegantly is Windows Phone with live tiles, but it is not as expressive as the event stream you see in N9. This article highlights how you can integrate your application’s events and notifications into events page. Before getting into the details please be aware that events page is a very valuable real estate and there is no special capability to update your events into this space. This gives your app a great power to grab user’s attention without he ever opening your app. But with great power comes great responsibility. Hence it is your responsibility not to over load the events page with too frequent data since it gives a clutter of data overflow which irritates the user, who may end up uninstalling your app. So keep this in mind and design your apps sensibly so that your great power is not your greatest enemy.

Events Page View

There are two ways in which you can post updates to events page, with each having their own purpose.

  1. Event Feeds
  2. Notifications

Event Feeds

Event Feeds are periodic events like social networking updates. Hence the frequency is directly proportional to the number of social contacts like your twitter followers or facebook friends. Your app can use this feature if it fetches updates from a web service and wants to gain user attention to show a glance at what it got for him. Even offline apps can use events feed, a well thought out example is calender feed app.

You can post an event into events feed with MEventFeed class. Consider you are developing an app that updates breaking news from BBC. In order to update to events feed your app has to run in the background. Ideally your app can run at some 2 hour interval rather than being alive all the time in background. To cater to such scenario you can use Buteo Sync framework (this is called SyncFW in Harmattan). You need to provide your plugin to SyncFW which loads it in predefined interval where you can fetch the updates, update event feeds page and close yourself. Simple enough. There is no better tutorial than this to get started. I recommend every content presentation app that fetches content from web (unless you are using Push Notifications) to use SyncFW to stay light on phone resources and at the same time alive when required.

Also a good design is that when user taps/selects your app’s event feed, it should do an appropriate action like opening your app or launching an URL.You can do this by providing a uri scheme as the event’s action. See this blog post on launching your app for your custom uri scheme.

Notifications

Notifications are a way to inform/notify the user in a non obtrusive manner. Use MNotification to publish a notification in the events page. A notification can be a reminder to the user that something of his interest happened like download finished. Again the “power with responsibility” rule applies here. If your app puts many notifications in less frequency then you should either redesign your app notification procedure or group them with MNotificationGroup. Also note that Harmattan restores the notifications across device reboots unless the user interacts with the notification in which case it is removed and the corresponding action is executed.

Make good and responsible usage of the above Harmattan features to make better apps.

Advertisements

5 thoughts on “Responsibly invading events page in Nokia N9

  1. Thats a great article…. thanks a lot!

    Nevertheless I have some (best practice) questions:
    Does the user have to visit the events feed page in order to see if
    there are news/notifications from third party apps (like the mentioned calender feed app)?

    Is there something like a system wide indicator (e.g. in the status bar?) for third party
    apps to indicate that they published something to the feed list?

    If I am not wrong, the lockscreen notifications are used for system internal stuff
    (e.g. emails, messages etc.) only… and MNotification is made to notify the user
    during the phone is in use…. is that correct???

    What can be used to notify the user that there is something new waiting for him/her?

    1. Events page in Harmattan is designed as a single hub for all events including your social network, messages, system events etc.
      Even a system indicator like new message ends up showing in events page. In fact it is the new age mobile interface design to put people and events in center stage.
      User can simply look at the events page to know all new events from his/her apps, rather than opening them regularly. Hence when you develop an app that produces events (like a smart deal from amazon) it would make more sense to put it in events page, because in the ocean of apps why would the user open your app regularly? Apart from this you can use badges on app launcher icon to indicate that some new content is available in your app. But I suggest to be present in events page to grab the user attention.

      1. Thanks for the detailed answer.

        The events page is really great… I read some of the dev docs and aside from the app launcher badges it seems that we can create custom notifications with MNotification that appear on lock screen (and/or on the status bar?) to grab the users attention about a new entry in the events page… (to avoid that the user has to look regularly into the events page to see that nothing happend)… this should be true, correct?

  2. Using MNotification is entirely dependent on the app which you are developing. A Twitter app do not use MNotifcation since the tweets are not of the priority to enter into status bar. Where as an email app requires to use status bar entry because the user may be expecting an email. Hope you see the difference. In PR 1.2 Facebook app gets an entry into status bar for Facebook notifications, which should help you understand the priority of events vs notifications.

    About showing a status bar entry (image), I am not sure about user defined notification types. You can update us if you can try with code. As always, responsibly use this feature – which this article is about.

    By the way, every notification ends up in the events page.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s