Personal information management - EventSharing

Description

This example MIDlet shows you how to create an event, serialize it as a vCalendar entry, and send its contents as a message to another device, with an option to obtain the recipient's number from the current device's contacts list. When the event is created, it is stored to the local event database. The event is serialized using the PIM API. The message is sent as an SMS using the Wireless Messaging API 2.0.

Figure: Creating a new event

For a tutorial that shows you how to create this MIDlet, see section Example: Creating and sending an event.

Compatibility

This MIDlet is compatible with Series 40 3rd Edition and S60 2nd Edition FP2 devices and newer.

Note: On Series 40 3rd Edition (initial release, FP1, and FP2) devices, the protection mode for add and edit operations is set to "Not allowed" by default. Therefore, before running the MIDlet on these platforms, the user needs to either manually change the MIDlet access settings or sign the MIDlet. For more information, see article How to change the Java API access settings on Series 40 phones in the Nokia Developer Wiki and section Signing a MIDlet suite in this library.

This MIDlet has been tested on the following devices:

  • Nokia 6280 (Series 40 3rd Edition)

  • Nokia 6680 (S60 2nd Edition FP2)

  • Nokia E7-00 (Symbian Anna with Java Runtime 2.2 for Symbian)

  • Nokia X3-02 (Series 40 6th Edition FP1)

MIDlet project

The MIDlet project files are packaged as a zip file. To download the zip file, click the following link:

Download EventSharing

Table: MIDlet details

MIDlet version

1.0

Creation date

04 May 2012

IDE

Eclipse and NetBeans

SDK

Series 40 6th Edition FP1 SDK

MIDlet classes

The MIDlet consists of the following classes (click to view the full source code):