BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-05-2009, 10:38 PM   #1
jacytan
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
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, 07:40 AM   #2
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
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, 07:23 PM   #3
jacytan
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
Default

Is it? Hmmm.... thanks for that information
Offline  
Old 07-07-2009, 02:37 AM   #4
jacytan
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
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, 08:33 AM   #5
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
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, 02:38 AM   #6
jacytan
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
Default

thanks, got it!
Offline  
Old 07-14-2009, 02:40 AM   #7
jacytan
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
Default

this thread is already solved...how do i close it?
Offline  
Old 09-29-2009, 12:57 AM   #8
jacytan
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
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, 03:30 AM   #9
jacytan
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
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, 12:23 PM   #10
grepPZ
New Member
 
Join Date: Mar 2008
Model: 9630
PIN: N/A
Carrier: VZ
Posts: 12
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, 09:32 PM   #11
jacytan
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


MOSFET - IRFZ44N 55V - Transistor  for Arduino Pi  TTL picture

MOSFET - IRFZ44N 55V - Transistor for Arduino Pi TTL

$54.79



MRF1K50N Wideband RF Power LDMOS Transistor 1500W CW over 1.8-500 MHz picture

MRF1K50N Wideband RF Power LDMOS Transistor 1500W CW over 1.8-500 MHz

$135.00



Portable 600pc 15Value NPN PNP Transistor TO-92 Assortment Kit Set /Box Hot picture

Portable 600pc 15Value NPN PNP Transistor TO-92 Assortment Kit Set /Box Hot

$12.66



MOSFET - IRF640N 200V 18A - Transistor for Arduino Pi TT picture

MOSFET - IRF640N 200V 18A - Transistor for Arduino Pi TT

$45.64



2SA733-Q Original New NEC TO-92 Transistor picture

2SA733-Q Original New NEC TO-92 Transistor

$10.95



MOSFET - IRF540N 100V 33A - Transistor for Arduino Pi TT picture

MOSFET - IRF540N 100V 33A - Transistor for Arduino Pi TT

$49.72







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