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

Posts: 1
Registered: ‎03-09-2010
My Device: Curve 8310
My Carrier: T-Mobile D

Starting my application from within a mail

[ Edited ]

Is it possible to start my application from a link within an email? Or is it possible to listen for the opening of an email in a special format and the start the application?


My claim is have my application on the BlackBerry in which the user can approve or reject a workflow. And to not have the user start the application from time to time I want to send the user an email and let him start the application from within this email.

BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Starting my application from within a mail

You can use a StringPattern to identify specific strings of text.  Refer this article:


How to - Leverage pattern matching in BlackBerry smartphone applications to provide an integrated user experience



You can also listen for incoming email messages using the FolderListener interface and take the required action when a specific message arrives.  Here are a couple of examples that make use of a FolderListener:


What Is - Application is not notified when new messages arrive



How To - Allow a background listener to detect and update a GUI application






Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker