BlackBerry Forums Support Community

Closed Thread
Thread Tools
Old 09-18-2009, 10:59 PM   #1
Knows Where the Search Button Is
Join Date: Aug 2007
Model: 8100
Carrier: cingular
Posts: 33
Exclamation Single mail message is generating multiple listener events

Please Login to Remove!


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.
Old 09-19-2009, 09:17 AM   #2
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644

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

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

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

PHP Warning: Invalid argument supplied for foreach() in ..../parts/ebay-function.php on line 84

Copyright © 2004-2016
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.