Contacts API: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
== News ==
== News ==


&quot;Qt Mobility 1.1.3 Release&amp;quot;: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.<br />&quot;Qt Mobility 1.2.0 release&amp;quot;:http://labs.qt.nokia.com/2011/05/12/qt-mobility-1-2-0-released/ is available now.
"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 =
= Contacts API =
Line 36: Line 37:
== Example applications! ==
== Example applications! ==


There are two primary example applications:<br />* &quot;samplephonebook&amp;quot;:http://doc.qt.nokia.com/qtmobility/samplephonebook.html<br />* &quot;qmlcontacts&amp;quot;:http://qt.gitorious.org/qt-mobility/contacts/blobs/0da688661903b1d4270929e49b7a9f1c7af37e7f/demos/qmlcontacts/example-contact-view.qml
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 ==
== API Reference ==

Revision as of 10:39, 25 February 2015

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:

API Reference