QCamera Example screen shotThis Qt C++ example application shows the viewfinder picture from the device camera and allows the user to capture images, store them, and send them as MMS messages. The example demonstrates how to use the Multimedia, Messaging, and Contacts modules of QtMobility. Captured images are stored in the gallery and can be sent as an MMS message. The application listens for incoming MMS messages in the Inbox folder. If an MMS message contains a picture, the application asks the user whether they want to add the picture as an avatar of the sender. The person's general contact information must exist in the device phonebook in order to store the avatar.

The project is being hosted and developed at: https://projects.forum.nokia.com/qcamera where you can read additional documentation on design considerations, check possible newer revisions, and also contribute to the project.

The application is compatible with Symbian^3 devices with Qt 4.7.1 and QtMobility 1.1.0 (or higher). The earlier 1.0 version is compatible with S60 5th Edition.

Important QtMobility classes: QCamera, QAbstractVideoSurface, QCameraImageCapture, QSystemScreenSaver, QVideoRendererControl, QVideoSurfaceFormat, QContactManager, QContact, QMessage, QMessageManager, QMessageService.

Resource information

21 March 2011
Intermediate

QCamera Example v1.1

XML description:

QCamera Example screen shotThis Qt C++ example application shows the viewfinder picture from the device camera and allows the user to capture images, store them, and send them as MMS messages. The example demonstrates how to use the Multimedia, Messaging, and Contacts modules of QtMobility. Captured images are stored in the gallery and can be sent as an MMS message. The application listens for incoming MMS messages in the Inbox folder. If an MMS message contains a picture, the application asks the user whether they want to add the picture as an avatar of the sender. The person's general contact information must exist in the device phonebook in order to store the avatar.

The project is being hosted and developed at: https://projects.forum.nokia.com/qcamera where you can read additional documentation on design considerations, check possible newer revisions, and also contribute to the project.

The application is compatible with Symbian^3 devices with Qt 4.7.1 and QtMobility 1.1.0 (or higher). The earlier 1.0 version is compatible with S60 5th Edition.

Important QtMobility classes: QCamera, QAbstractVideoSurface, QCameraImageCapture, QSystemScreenSaver, QVideoRendererControl, QVideoSurfaceFormat, QContactManager, QContact, QMessage, QMessageManager, QMessageService.


type:
Example
topic:
Graphics
Messaging
Multimedia
     Imaging
Qt
     Qt Mobility
     Qt for Symbian
language:
English (en)
media encoding:
Zip Archive (.zip)
compatibility:
Qt SDK 1.1. TP, QtMobility 1.1.0. Tested on: Nokia N8-00, Nokia E7-00. Developed with: Qt SDK 1.1. TP.
Additional information
distribution:
Global Web Site
edition:
1
editorial revision:
1
publication rights:
Copyright (c) 2010-2011 Nokia Corporation.
supersedes:
Qt: QCamera Example
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved