BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Developer Forum (http://www.blackberryforums.com/forumdisplay.php?f=15)
-   -   Single mail message is generating multiple listener events (http://www.blackberryforums.com/showthread.php?t=204680)

rock_win 09-18-2009 10:59 PM

Single mail message is generating multiple listener events
 
Hi,

I’m trying to log the email message events for the ‘Outbox’ folder on Blackberry Bold-9000 by associating the folder listener.
But sometimes the listener activates the associated methods multiple times for a single email message. Hence, making duplicate log entries against a single message.

Is there any property that can be checked to eliminate the multiple activation of associated method?

Please let me know if there is any other method that can be used to solve this issue.

Dougsg38p 09-19-2009 09:17 AM

Make certain that you are removing your listener when the app shuts down.

If you don't, you'll wind up with multiple listeners.


All times are GMT -5. The time now is 06:30 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.