• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
How to Customize the MeeGo Tablet UX
 

How to Customize the MeeGo Tablet UX

on

  • 7,748 views

The MeeGo Tablet UX is open-source software and designed to be customizable for market differentiation of MeeGo tablets. This session teaches developers about the new APIs in the MeeGo Tablet UX ...

The MeeGo Tablet UX is open-source software and designed to be customizable for market differentiation of MeeGo tablets. This session teaches developers about the new APIs in the MeeGo Tablet UX project and how they are used to change the look-and-feel and behavior of the MeeGo OS on tablets. Attendees learn about the Panels API, the Content API, the Share API and visual theme customizations, with demonstration of each customization on a MeeGo tablet device.

Session from MeeGo Conference in May 2011.

Statistics

Views

Total Views
7,748
Views on SlideShare
3,308
Embed Views
4,440

Actions

Likes
0
Downloads
15
Comments
0

12 Embeds 4,440

http://learnthemobileweb.com 4368
http://abtasty.com 22
http://webcache.googleusercontent.com 15
url_unknown 12
http://translate.googleusercontent.com 11
http://www.linkedin.com 3
http://131.253.14.66 3
http://speakerrate.com 2
http://learnthemobileweb.com. 1
http://www.screaminggeek.com 1
http://learnthemobileweb.com HTTP 1
http://prlog.ru 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Welcome again to MeeGo conference. Today, we’ll learn how to customize the MeeGo Tablet UX using APIs and themes. My name is Gail Frederick and I work at Intel. This presentation is a business and technical collaboration between myself and two key Intel engineers developing the tablet UX, Geoff Gustafson and James Ausmus. They aren’t here today, but they are available via email to answer technical questions about the APIs we will discuss today.
  • This session discusses three new APIs in the MeeGo Tablet UX and how they are used to change the look-and-feel and behavior of a MeeGo Tablet. Then, we will explore the default MeeGo tablet theme and describe how to achieve visual differentiation by re-theming the UX. We’ll save time for a short Q&A session. The Panels API allows you to add and change the home screen panels. The Content API allows you to publish content to the Friends panel and to a search application. The Sharing API allows you to integrate media and status sharing targets (i.e. social networks) into the UX. The theme is the place where visual assets and configuration (fonts, colors, whitespace, etc.) are modified.
  • First, let’s start with a quick overview of the MeeGo Tablet user experience. This will highlight where in the UX developers can use tablet APIs to change the experience.
  • Now let’s talk about the three new APIs in the MeeGo Tablet UX
  • The Panels API modifies existing panels and adds new content into the panels in the tablet home screen. More convention than API, it allows you to customize the home screen in any way.
  • .panel file has a similar in format to a .desktop file
  • Now let’s talk about the Content API
  • The content API is a publishing API for making third-party content items available in the home screen and search results of the tablet UX. Search in MeeGo Tablet UX today is available as an API only. No built-in app or UX is available.
  • A content item in the API can specify these properties and actions for a content item
  • How do you use the content API? Write a content plugin and convey service content through lists of items in QAbstractItemModel
  • The Service Model describes the data source for the plugin - meaning the Web app or social network (i.e. Facebook, Last.fm, etc.) that you are integrating into the tablet UX.
  • The Feed model provides a feed of content items (i.e. social status updates, received IMs, etc) to be integrated into the Friends panel. The model defines content item properties and actions to perform when the user interacts with the content item.
  • Now let’s talk about the Sharing API
  • The Share API allows sharing of media and other kinds of application data with others across social networks and other Web services. Sharing happens in panels and applications in the tablet UX.
  • The front-end of the Sharing API is a QML wizard that walks the user through the sharing process (which is service-specific).
  • The back-end of the Sharing API is a C++ plugin for MeeGo Sharing Daemon that performs the sharing mechanics.
  • Now let’s talk about how to change the visual design of the tablet UX.
  • Another way to differentiate a MeeGo Tablet product is by re-theming the UX. The MeeGo Tablet UX theme is a collection of visual assets that

How to Customize the MeeGo Tablet UX How to Customize the MeeGo Tablet UX Presentation Transcript

  • How to Customize the MeeGo Tablet UX Gail Rahn Frederick, Intel with contributions from Intel engineers Geoff Gustafson and James Ausmus and screenshots by Bob Spencer!
  • Agenda
    • MeeGo Tablet UX Overview
    • New APIs in MeeGo Tablet UX
      • Panels API
      • Content API
      • Sharing API
    • Theming a MeeGo Tablet
    • Q&A
  • What Can be Customized?
    • MeeGo Tablet UX APIs allow developers to:
    • add and change panels
    • publish new kinds of content into panels and search results
    • share user-generated content to social networks and other Web targets
    • Visually re-skin the user experience
  • MEEGO TABLET UX OVERVIEW
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  • PANELS API
  • Panels API
    • The Panels API adds and changes panels in the tablet home screen.
    • You can:
    • Add a new panel
    • Re-order panels
    • Change panel contents
    • Remove panels
    • See meego-ux-panels in MeeGo Gitorious.
  • Overview
    • Panels are defined in a .panel file
      • in /usr/share/meego-ux-panels/panels/
      • sets panel properties
      • points to a QML file with panel layout
    • Use Panel UI widgets for consistent UX
      • import MeeGo.Panels 0.1
  • Example .panel file
    • [Panel]
    • DisplayName=Example #Used in Panels settings
    • DisplayName[fi]=Esimerkki #Example translation
    • DefaultIndex=6 #Desired default ordering
    • UniqueName=example #Used for settings save/load
    • Path=/usr/share/meego-ux-panels/example/examplepanel.qml
    • #Path to actual panel QML
  • Example Panel
    • import Qt 4.7
    • import MeeGo.Components 0.1
    • import MeeGo.Panels 0.1
    • FlipPanel {
    • id: container
    • Translator { catalog: "meego-ux-panels-example" }
    • front: SimplePanel {
    • panelTitle: qsTr("Example")
    • panelComponent: PrimaryTile {
    • text: "Hello world!“
    • }
    • back: BackPanelStandard {
    • panelTitle: qsTr("Example settings")
    • subheaderText: qsTr("Example panel content")
    • onClearHistClicked:{
    • console.log("Clear history clicked!");
    • }
    • }
    • }
  • CONTENT API
  • Content API
    • The Content API integrates content services into the home screen and search:
    • Publish a content feed to the Friends panel
    • Make content available in search results
      • See meego-ux-content in MeeGo Gitorious.
  • Content Properties
    • The Content API supports these content item properties
      • Title text
      • Description text
      • Icon (optional)
      • Thumbnail (optional)
      • Timestamp
      • Default action (tap)
      • Custom actions (context menu)
  • How to Write a MeeGo Content Plugin
    • Derive plugin class from McaFeedPlugin
    • Implement serviceModel() to provide a list of the services whose content is published in this plugin
    • Implement createFeedModel() to provide a live feed of data for Friends panel (optional)
    • Implement createSearchModel() to provide search results (optional)
    • Each implemented method returns a QAbstractItemModel with a list of items.
    • Now let’s look at each kind of model…
  • Service Models
    • Derive from McaServiceModel
      • Each list item describes one service or data source (i.e. social network, Web API, protocol, etc.)
      • Use data roles defined in servicemodel.h
        • Service name (unique to a plugin)
        • Display name
        • Icon
        • Category (use “email”, “social” or “im” in Friends panel)
        • Implement config error and actions to provide the user a quick way to configure the service
  • Feed Models
    • Derive from McaFeedModel
      • Each list item is a relevant content item
      • Provide content to be displayed
        • Title, content, avatar, picture, timestamp
      • Provide actions object
        • Default action when user taps your content item
          • E.g. open your application to detail view of content
        • Custom actions for a context menu
          • E.g. mark as spam, delete, …
      • Provide QAbstractItemModel signals when new content items arrive
  • Search Models
    • Similar to feed model. Also derive from McaSearchableFeed
      • Implement setSearchText() and provide relevant, matching results
      • Return empty model when search text is empty
  • SHARING API
  • Sharing API
    • The Sharing API allows sharing of media and application data to social networks and other Web services.
    • Sharing happens in panels and apps in the tablet UX.
      • See the API in meego-ux-sharing and implementations in meego-ux-sharing-socialweb and meego-ux-sharing-email on MeeGo Gitorious.
  • Sharing API Overview
    • Sharing API has two service-specific components:
    • QML UI plugin for sharing UX
      • Add comments, set privacy options, etc.
    • C++ plugin to MeeGo Sharing Daemon
      • Interacts with service to do the sharing operations
  • Sharing UX
    • The Sharing UX is a QML file containing the service-specific UI.
    • Loaded via a Loader component in a Modal Dialog interface
    • MeeGo.Sharing.UI contains widgets for consistent UX
    • Must emit one of the following signals at the end of the UI flow:
      • cancel() if share operation was cancelled
      • shareError(string errMsg) if an error occurred
        • errMsg is a user-visible translated string
      • shared(int shareid) if share has started successfully
        • shareid > 0 for tracking share progress
        • shareid < 0 for a share operation that is “fire and forget”
  • Plugin Interface for MeeGo Sharing Daemon
    • class MeeGoUXSharingServicePluginInterface: public Qobject {
    • Q_OBJECT
    • public:
    • /* … removed some methods to fit slides …*/
    • virtual QHash<QString, QString> metaData() = 0;
    • virtual QList<MeeGoUXSharingServiceInfo> getServices() = 0;
    • virtual int Share(QString serviceName, const QString &sharetype, ArrayOfShareItemStruct items, QString &errmessage) = 0;
    • virtual bool CancelShare(QString serviceName, int opid) = 0;
    • signals:
    • void ShareProgress(const QString &service, int opid, int progress, const QString &message) ;
    • };
  • THEMING THE MEEGO TABLET UX
  • MeeGo Tablet UX Theme
    • A theme is a collection of visual assets and configuration that defines the visual skin of the tablet UX.
    • Theme contents are icons, graphics, backgrounds, fonts, colors and margins.
    • The default MeeGo Tablet theme is open source.
      • meego- ux-theme project in MeeGo Gitorious
  • Changing the MeeGo Tablet UX Theme
      • Read Contributing.txt and Icon naming.txt to get started.
      • Clone meego-ux-theme project locally.
      • Update visual assets and theme.ini for your target resolution. (Here’s the visual design magic.)
      • Test your assets on a MeeGo tablet by overwriting the contents of /usr/share/themes/RESOLUTION with new assets and rebooting.
      • Package updated theme and release upstream or in your product.
  • Q&A
  • Thank You
    • MeeGo Tablet UX APIs and Theme are in the meego-ux project in MeeGo Gitorious.
    • My Contact Info
    • [email_address]
    • Contact Info for Contributing Engineers
    • Content API
      • [email_address]
    • Panels API, Sharing API
      • [email_address]
      • Freenode #meego channel: jausmus