BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-05-2009, 11:38 PM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with Invoking Messages Application

Please Login to Remove!

Hi,

I am testing an application that adds an application menu item in the messages list and when clicked, simply displays the old contents and recipients on the "Compose Email" Screen.

This is what i did.

Code:
public Object run(Object in_objContext) 
{
   if(in_objContext instanceof Message)
   {
	Message msgOrig = (Message)in_objContext;
	try
	{
		Message msgNew = msgOrig.reply(true,true);
				
		Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES,
			new MessageArguments(msgNew));
		
	}catch(Exception e){}
   }
   return null;
}
The problem is, there is no "Send" command in either the Context or Full Menu.

Can somebody help me?
Offline  
Old 07-06-2009, 08:40 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Message.reply() is broken. This is a known issue that extends from 4.2 all the way up to 4.7 (AFAIK).

You'll need to invent your own "reply" function.
Offline  
Old 07-06-2009, 08:23 PM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is it? Hmmm.... thanks for that information
Offline  
Old 07-07-2009, 03:37 AM   #4 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i created my own reply method, but i cannot seem to get the content of the previous message. i want that the Original Message be included in the body. (Similar UI to the normal "Original Message" part)

i tried using the setContent() by getting the content/body of the previous message but still it is empty.

any suggestions?
Offline  
Old 07-07-2009, 09:33 AM   #5 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Try using the forward() method to create a reply, the re-swizzle the subject line and out in your recipients.
Offline  
Old 07-14-2009, 03:38 AM   #6 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks, got it!
Offline  
Old 07-14-2009, 03:40 AM   #7 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

this thread is already solved...how do i close it?
Offline  
Old 09-29-2009, 01:57 AM   #8 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Dougsg38p View Post
Try using the forward() method to create a reply, the re-swizzle the subject line and out in your recipients.
Hi there, i just realized something else. If i use the forward() method and if there is a file attached on the previous email, it also gets sent along with the reply. Is there a way i can remove the previous attachment?

I tried using getContent() and getBodyText(), it does not work. I always get null as the return type.
Offline  
Old 10-07-2009, 04:30 AM   #9 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

The "Save Drafts" command doesn't seem to work, as well.

Can somebody help me? Did anybody else encounter these problems?
Offline  
Old 10-13-2009, 01:23 PM   #10 (permalink)
New Member
 
Join Date: Mar 2008
Model: 9630
PIN: N/A
Carrier: VZ
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I will give it a try in the evening today and update what I find. In the meantime you may want to ask this question at RIM support forums as well.
Offline  
Old 10-19-2009, 10:32 PM   #11 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

still doesnt work for me. :(

how were your results?

i already posted the same issue in RIM but they're not responding.
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.