Contacts API
Jump to navigation
Jump to search
This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine. Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean. |
English Spanish
News
"Qt Mobility 1.1.3 Release":http://labs.qt.nokia.com/2011/05/04/qt-4-7-3-and-qt-mobility-1-1-3-have-been-released/ is available now for commercial app development and deployment on Ovi store. "Qt Mobility 1.2.0 release":http://labs.qt.nokia.com/2011/05/12/qt-mobility-1-2-0-released/ is available now.
Contacts API
Summary
The Qt Contacts API lets you access addressbook data (people, organizations, groups etc), and perform different operations on them. The Qt Mobility 1.1 technical preview extends the Qt Mobility 1.0 package with a few additions:
- Better support for IPC and the metaobject system
- Streaming operators for serializing several different classes
- Metatype and related Qt metaobject system enhancements
- Contact actions
- Lets you actually do things to the retrieved data (e.g. send a text, dial a pizza etc)
- Also boring things (view/edit in native addressbook etc)
- Plugin-based, allows third-party developers to implement and provide functionality to clients
- QML Support
- Bindings to allow clients to access contacts functionality from QML via QtDeclarative plugins
- Build next-generation, fluidly animated user interfaces for social applications
Some implementation work is ongoing, and some areas of the API are subject to change (in particular, the QContactAction-related API).
Key features
- Create/Filter/Update/Delete contacts and relationships between contacts
- Perform actions in a cross-platform manner on contacts
- Third-party providers can write plugins which allow access to different contact sources (device, device clouds, online clouds, etc)
Example applications!
There are two primary example applications:
- "samplephonebook":http://doc.qt.nokia.com/qtmobility/samplephonebook.html
- "qmlcontacts":http://qt.gitorious.org/qt-mobility/contacts/blobs/0da688661903b1d4270929e49b7a9f1c7af37e7f/demos/qmlcontacts/example-contact-view.qml
API Reference
- http://doc.qt.nokia.com/qtmobility/contacts.html (Qt Mobility 1.1)
- http://doc.qt.nokia.com/qtmobility-1.2/contacts.html (Qt Mobility 1.2)