|
This simple example shows couple of features that might be sometimes tricky when working with agendas in Symbian OS smartphones.
Download example application>>
It shows how to:
- Create an appointment with a long text (over 128 letters). It sets couple of most important settings and appends it to the agenda.
- Create a recurring anniversary that will be shown every set number of weeks (in code also shown how to set it in days).
- How to successfully remove all of currently added agenda entries. It removes everything without any errors, even entries with a long text (such a text in RichText is stored "out of line", more info can be found in the SDK).
- At the start of application create an agenda observer that will log into file and show info on the screen that the agenda was updated.
To build the MyAgenda example for a Sony Ericsson smartphone:
$ bldmake bldfiles $ abld build thumb urel $ makesis MyAgenda.pkg
Example has also small program (supply.bat) that can call these commands for you.
You should edit it before first use to update paths, so they will reflect your folders.
|