Files in the sample application

File name

Description

ConsequenceImpl.java

  • the Consequence interface implementation
  • contains the SyncObject and SyncConverter interface implementations as required by the Consequence interface

Event.java

class that contains the attributes of the notification event and the methods to start and stop the notification event

NotificationsDemo.java

  • the entry point for the application
  • contains the main method, which registers the application as a notification event source when the BlackBerry® device starts
  • contains the application's Screen class which contains a menu item to start the notification event

NotificationsEngineListenerImpl.java

the implementation of the NotificationsEngineListener interface which contains methods that manage the UI components that are displayed when notification events start and stop

Next topic: System requirements
Previous topic: Featured classes

Was this information helpful? Send us your comments.