These code examples demonstrate how to implement important mobile use cases on Nokia devices; and they provide complete, installable applications with full source code. By comparison, code snippets are short blocks of code that developers can easily use in their applications. Code examples are published in this Code Examples section of the website, and code snippets are available in the Nokia Developer Wiki.
The Custom VideoPlayer Component provides a reusable QML component for playing video and showing transparent overlay controls on top of video content. The VideoPlayer component enables showing full-screen videos with play controls that can be hidden or in a smaller size with play controls and other information always shown. This example is hosted in Nokia Developer Projects.
This example demonstrates how to use the Qt Mobility Qt camera classes to access the camera devices. The application can set the properties of the camera, show the viewfinder image, and capture still images. The application also analyses the viewfinder image in real time and shows a histogram window about the image. The overexposed areas are marked in the viewfinder to demonstrate the pixel manipulation techniques in real-time images. For related documentation, see the Camera Guide. This example is hosted in Nokia Developer Projects.
This Nokia Developer Qt Quick example application has been ported from iOS to Qt. It demonstrates the use of the Social Connect QML Plug-in for user authentication and retrieving nearby places from Facebook. The example also features the Qt Mobility Location API; the places found are placed on Nokia Maps which is centered based on the user's current location. In addition, the route drawing feature plans the route from the current location to the selected point of interest. This example is hosted in Nokia Developer Projects.
This Java ME example application demonstrates how you can port a full-screen game from Android to Java ME in Series 40 touch devices. In this port the same game logic code and most of the resources were reused while new code was written for starting up the game, handling menus, and playing sounds. The code is based on the Android version of Frozen Bubble, created by Pawel Aleksander Fedorynski. The Java ME port, just like the original Frozen Bubble, is covered by GNU GPL v2. This example is hosted in Nokia Developer Projects. Project summary | Implementation notes | Porting notes | Release notes
These branding examples have been created using Qt Quick Components for Symbian and they demonstrate different approaches on how to modify the colour scheme of UI elements. This application explains various techniques and covers most of the existing UI elements. The level of changes ranges from simple tweaks, such as changing an image, to rather complex changes, such as replacing an entire component. However, the main goal is to preserve the look and feel of the UI components as much as possible and make the application appear like an integral part of the phone. This example is hosted in Nokia Developer Projects.
This Qt Quick example application allows users browse the applications in Nokia Beta Labs. The main purpose of the application is to demonstrate how to communicate with a web server from QML using AJAX. The application also demonstrates how to use Qt Quick Components, and how to utilise In-App Advertising. This example is hosted in Nokia Developer Projects:
This Qt Quick example application demonstrates how to use the QCamera from the Qt Mobility Multimedia module and how to create a circus-style mirror effect with it. The application shows how to manipulate camera frames in real-time. This example is hosted in Nokia Developer Projects:
The Match'em Poker Qt example application is a 'match 3' type game where you can switch the cards on a grid to form different poker hands in any direction. This example is hosted in a Nokia Developer Project where you can also find the implementation and porting notes. This project was created to study porting this game to the Qt platform using Qt GameEnabler.
The Media Browser example application demonstrates how to use QML bindings of the Document Gallery (part of QtMobility APIs). create a visually appealing coverflow view and show image and video files. The updated version uses Qt Quick Components and adds support for video playback. This example is hosted in Nokia Developer Projects.
FileList is a simple example application for browsing multimedia files on a Symbian device. This application, which is ported from a Symbian C++ version, is developed with Qt Quick components and is based on the Symbian design guidelines. The example also features a fast-loading, efficient splash screen, implemented completely with QML code.
This Nokia Developer Qt Quick example application demonstrates the intended use of UI elements and interaction patterns as described in the Symbian Design Guidelines. The idea is to put the style guide to life and to show vastly different layout and interaction examples in a condensed format. Each mini app demonstrates either a set of UI elements or a certain pattern. The apps are without application engine and they just show flows or sample layouts, but have no deeper functionality. This example is hosted in Nokia Developer Projects.
The Dj Turntable example is a Qt Quick application that allows the user to scratch audio with the turntable and play predefined background beats, or create their own beats with the drum machine. The purpose of the application is to demonstrate the integration of Qt Quick and the Qt Mobility audio interface using Qt GameEnabler. The application is compatible with Symbian devices with Qt 4.7.4 and Qt Mobility 1.2.1, MeeGo 1.2 Harmattan, and Windows desktop computers starting with Windows XP (the Qt libraries are provided with the executable). This example is hosted in Nokia Developer Projects.
The Surveillance Camera showcase example demonstrates how to use Nokia's Notifications API. The Notifications API lets you push real-time notifications to your client applications. This example consists of two mobile apps: the Windows Phone Silverlight application uses the Service API to send push notifications to a Qt Quick app in a Symbian device. In this example the Silverlight application is the actual surveillance camera that searches for movements in the camera viewfinder. The Qt application receives alert notifications from the Silverlight application when there is movement. Both applications authenticate into the Notifications Service for sending and receiving alert notifications. This example application is hosted in Nokia Developer Projects.
Project summary | Implementation notes | WP Silverlight app release notes | Qt Quick app release notes
The application demonstrates the use of Qt Quick Components. To-Do Lists is an example application that keeps track of To-Do tasks in three categories. The categories are Work, Home, and Shopping. This example hosted in Nokia Developer Projects.
Qt GameEnabler is a collection of interfaces that enables game and game engine development in the Qt environment. Qt GameEnabler provides a simple framework enabling the use of native OpenGL® ES 2.0 code within a Qt application, and enables applications to achieve the maximum performance by providing direct access to graphics hardware acceleration using OpenGL. An application created with Qt GameEnabler will run on all devices supporting OpenGL ES 2.0. This example is hosted in Nokia Developer Projects.