BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-08-2007, 12:17 AM   #1 (permalink)
New Member
 
Join Date: May 2007
Model: 7100T
PIN: N/A
Carrier: Dont know
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Email Contents

Please Login to Remove!

Dear all,
I want to call java application which is already install on blackberry from blackberry email content (message body). pl tell me if there is any way to do so.
Thanks in Advance
Offline  
Old 05-08-2007, 06:47 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: May 2007
Model: 8707
PIN: N/A
Carrier: Proximus
Posts: 16
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello raviborawake,

The way I understand, you want to call an application from the menu when you're reading an email message. Correct? That is possible!! You'll just have to add a menuitem to the MENUITEM_EMAIL_VIEW and call your application in the "run" method of the ApplicationMenuItem.

Here's another thread on this topic: Hash code of package

There's an article on this in the Knowledge Center on BlackBerry.com (article DB-00110)

And last but not least, the BlackBerry App Dev Guide vol 2 (chapter 7: Communicating with BB applications)

Succes, L J
Offline  
Old 05-09-2007, 05:32 AM   #3 (permalink)
New Member
 
Join Date: May 2007
Model: 7100T
PIN: N/A
Carrier: Dont know
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello L Jorissen,
Can i pass the parameters to application through menuitems?


Quote:
Originally Posted by L Jorissen View Post
Hello raviborawake,

The way I understand, you want to call an application from the menu when you're reading an email message. Correct? That is possible!! You'll just have to add a menuitem to the MENUITEM_EMAIL_VIEW and call your application in the "run" method of the ApplicationMenuItem.

Here's another thread on this topic: Hash code of package

There's an article on this in the Knowledge Center on BlackBerry.com (article DB-00110)

And last but not least, the BlackBerry App Dev Guide vol 2 (chapter 7: Communicating with BB applications)

Succes, L J
Offline  
Old 05-09-2007, 07:53 AM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: May 2007
Model: 8707
PIN: N/A
Carrier: Proximus
Posts: 16
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

What exactly do you mean? Which parameter do you want to pass to your application? Could you describe this application?
Offline  
Old 05-09-2007, 08:31 AM   #5 (permalink)
New Member
 
Join Date: May 2007
Model: 7100T
PIN: N/A
Carrier: Dont know
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello L Jorissen,
I want to pass the logged in Id(String) of user and reference id(String/Integer) from the content of email.

For ur reference:
Email content will contain the link to get details.I want to get those details from another application. Those details will be differ from mail to mail so i want to pass the parameters accordingly. I am unable to get the details from the link so i am thinking of adding the menuitem and get it.
Offline  
Old 05-10-2007, 11:52 AM   #6 (permalink)
Knows Where the Search Button Is
 
Join Date: May 2007
Model: 8707
PIN: N/A
Carrier: Proximus
Posts: 16
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I begin to understand what you need.
In the code behind a menuitem, you can do whatever you need. For instance, retrieve the message ID of the email (if menuitem is added to BlackBerry messages app), retrieve (parts of) the content of an email, and much more ...
The code to do that will have to come in the run method of the menuitem application. From there, with the retrieved information you will have to invoke your more-details-application, but I'm not sure how to do that since I'm also quite new to BB development. But there must be some info around here on how to invoke third party applications.

Did this help you, or did I miss the point?

Bye, L J
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.