BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 04-15-2009, 08:26 AM   #1 (permalink)
New Member
Join Date: Apr 2009
Model: 8700
Carrier: airtel
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default how to get the event of clicking send in Messages application

Please Login to Remove!

hi all,

can we write code in my application to get the contents (to, subject, body.. data) while clicking "send" menuitem in "Messages" application..

Or can show our own prompt while clicking "send" item in "Messages" application to copy the mail(messages's)details into my application record..

thanks in advance..
Old 04-15-2009, 11:06 AM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts

There is a way to get read access to the message just before it is sent. The only action you can take with the message itself is to allow or deny sending. If you deny the user is notified.

See: net.rim.blackberry.api.mail.SendListener

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