What you are looking for is called message list integration or sometimes as message folders. Note that the name "message folder" is a little misleading. This does not mean creating a βfolderβ into which the user must enter (which first threw me away), but creates a message in the Inbox folder, as you describe. For the best user experience, you'll also want to create an application notification icon .
The name of the package to pay attention to is net.rim.blackberry.api.messagelist . You will need to implement ApplicationMessage to fulfill the requests you made.
Here is an example of how to do this in the source code of the sample that comes with JDE, the project name is "MessageListDemo". All JDEs related to (at least) OS 4.5 will have this sample application. If you want to use the new notification bar integration for OS6, be sure to take a look at 6.0 MessageListDemo.
The following is a brief overview of the process and the barebones example . This is for 6.0, but I believe that they remain the same API until 4.6 and have minor changes from 4.5). The MessageListDemo sample will be better, although more thorough, and includes everything you need to do - for example, implementing a MessageFolderListener to detect when the user opens one of your custom messages.
Finally - I see that you asked a lot of questions, but did not accept any answers, even real ones. Please be sure to accept this answer if it helps you so that people do not answer your questions.
source share