Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Application stops receiving event notifications when using the PIMListListener API

by Retired ‎02-16-2010 09:12 AM - edited ‎09-16-2010 02:59 PM (1,619 Views)

Summary

 

This article applies to the following:

 

  • BlackBerry® wireless devices based on Java™
  • BlackBerry Device Software 3.7

Problem


The application stops receiving event notifications when using the PIMListListener application programming interface (API).

 

Resolution

 

Keep a reference to the listener object open. To do this, store a static reference to the PIMListListener object within your application. This makes sure that the listener object is not destroyed after a short period of time by the garbage collector, and continues to receive Calendar events.

Contributors
Users Online
Currently online: 19 members 722 guests
Please welcome our newest community members: