MIDP3.0

Package javax.microedition.event

Package to provide events for application to application communication and provide access to and events for changes in system states.

See:
          Description

Interface Summary
EventDataListener With this interface applications are able to receive events from the system and from other applications.
 

Class Summary
EventData The EventData class provides methods to create events and to retrieve information from events.
EventManager The EventManager class provides methods to post and listen for events, to determine the events supported by the device, and to register applications to be automatically launched in response to events.
EventPermission EventPermission allows access to system events.
 

Package javax.microedition.event Description

Package to provide events for application to application communication and provide access to and events for changes in system states. The event package is comprised of one interface and three classes.

The EventManager class is the starting point in the events package. It provides methods to query system states, register listeners to be notified on events, and to register the application to be launched on events. The events are delivered through EventDataListener interface that the applications implement. The event notifications encapsulate the information about the event into the EventData objects. The EventData class defines the names of system events. Access to events is controlled by the EventPermission class.

Since:
MIDP 3.0

MIDP3.0

Send a comment or suggestionVersion 3.0 of Mobile Information Device Profile Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-2009 Motorola Inc. Portions copyright 1993-2002 Sun Microsystems, Inc. and Motorola, Inc. All Rights Reserved.