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: EventSharing MIDlet running on a Nokia Series 40 full touch device

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 devices and newer.

Note: On Series 40 3rd Edition (initial release, Feature Pack 1, and Feature Pack 2) 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 X3-02 (Series 40 6th Edition Feature Pack 1)

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

Nokia IDE for Java ME (Eclipse) and NetBeans

SDK

Nokia SDK 2.0 for Java and Series 40 6th Edition Feature Pack 1 SDK

MIDlet classes

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