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
New Developer
grevolution
Posts: 15
Registered: ‎07-27-2009
My Device: Not Specified
Accepted Solution

Open Compose E-Mail Screen on button Click

Hi , I am very new to BlackBerry Development.

How i can do this .. i want to open the Compose E-Mail Screen with a button click in my application . how i will do that ?

Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Open Compose E-Mail Screen on button Click

See the Invoke and ApplicationArguments classes.

 

New Developer
grevolution
Posts: 15
Registered: ‎07-27-2009
My Device: Not Specified

Re: Open Compose E-Mail Screen on button Click

Can you give me the exact syntax for this ??? .. i m not getting what i m looking for .
Developer
yako
Posts: 43
Registered: ‎01-20-2009
My Device: Not Specified

Re: Open Compose E-Mail Screen on button Click

The APIs you're looking for are:

net.rim.blackberry.api.invoke.Invoke
net.rim.blackberry.api.invoke.MessageArguments

 

Something along the lines of...

 

Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES, new MessageArguments(MessageArguments.ARG_NEW, emailAddress, subject, body));

 

 

 

New Developer
grevolution
Posts: 15
Registered: ‎07-27-2009
My Device: Not Specified

Re: Open Compose E-Mail Screen on button Click

thank you very much