Files:
This example shows how to write a simple calendar application using the QtMobility Organizer API.
Mobile devices allow people to lead an "always connected" lifestyle, which makes the ability to organize and schedule events and activities vitally important. A calendar application on a device can allow three different levels of organization:
This application is an example of the first type of application: it allows the user to specify some simple events with simple recurrence options, and to view those manually-specified events.
The application is designed to work on desktop and mobile platforms with minimal differences in code between the platforms. The interface consists of an Organizer backend selection widget, a "month view" table (which also includes the week number of every given week in the month), and some buttons which allow the user to add an event for the currently selected day.
The user may cycle to the next month by clicking on the "greyed-out days" in the last row of the table (which actually occur in the next month), and may cycle to the previous month by clicking on the "greyed-out days" in the first row of the table (which actually occur in the previous month).
The example is not intended to exercise the entire API. Instead, it is a simple example which illustrates some simple uses of the API. Only simple events may be added with this example, and no event-centric view is provided.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.