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
Developer
Posts: 146
Registered: ‎11-05-2008
My Device: Not Specified

problem on addViewListener

hi,

I have used getDefaultInstance() to use addViewListener method.When i m clicking on a selected message from message list,my application is listening and with this selected message,app is working.No problem here.But problem is that.When I  go for "Compose Email" statying on messagelist screen,The viewlistener is still listening.And it's gives problem.So how can I do,that,when i only click on application,view listener will be listened.i have used  MessageEvent.OPENED .please help me out.

Developer
Posts: 146
Registered: ‎11-05-2008
My Device: Not Specified

Re: problem on addViewListener

i have got the solution.It's very easy.
Contributor
Posts: 18
Registered: ‎07-27-2010
My Device: Not Specified

Re: problem on addViewListener

Please mention the code to get the mail subject while opening it using OPEN menu item of Mail Box.