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

Reply
Visitor
Posts: 1
Registered: ‎03-18-2012
My Device: 9700
My Carrier: anything

How to listen to a received PIN message in the Messages Folder

Here is what i did,

 

  • I have implemented the FolderListner, and i have added it to the "store"
  • I have implemented the messageAdded(FolderEvent)
  • Then I have added the Message.PIN_MESSAGE test code to check for the PIN message

The problem is:

I only get the PIN messages I send listened to, it never listens for the recieved message.

 

Here is the steps i followed,

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800698/What_Is...

 

On more thing,

I am testing on OS6 Device...

Developer
Developer
Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
My Carrier: Verizon

Re: How to listen to a received PIN message in the Messages Folder

I have not checked on the newer OSes, but there was an issue with pin messages not having the PIN_MESSAGE flag set. To get around this you would need to check every message and see if the @ sign is in the address to determine if it is an email or pin message.