BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 06-11-2007, 05:55 AM   #1 (permalink)
New Member
 
Join Date: Jun 2007
Model: 8700
PIN: N/A
Carrier: vodafone
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question illegalStateException on invokeApplication

Please Login to Remove!

I try to create a new memo, but i alway running into an exception (illegalStateException):
Code:
        System.out.println("create arguments.");
        MessageArguments mes = new MessageArguments (MessageArguments.ARG_NEW, "webmaster@blackberryblog.com", "Cool Recipe on KarensRecipes.com", "bmp");
        System.out.println("send Message");
        Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES, mes);
                
        
        System.out.println("Test");
What could be wrong?
Offline  
Old 07-17-2007, 06:35 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Location: Bulgaria
Model: none
PIN: N/A
Carrier: Mtel
Posts: 150
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i suppose u want to send an e-mail...i use this only line that is almost the same an it is working:

Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES , new MessageArguments(MessageArguments.ARG_NEW,
"address@address.com", "Email", "Body"));
Offline  
Old 07-17-2007, 06:42 AM   #3 (permalink)
New Member
 
Join Date: Jun 2007
Model: 8700
PIN: N/A
Carrier: vodafone
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry, its not applicable to my problem. I want to create a blank memo with an attached image-file (my next problem) ...
Offline  
Old 07-17-2007, 06:46 AM   #4 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Location: Bulgaria
Model: none
PIN: N/A
Carrier: Mtel
Posts: 150
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok..Sorry....Can u tell me how can i send a sms with predefined text...i start a new thread in the forum about my next problem...do u know something about that...thank u!
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

HYDRAULIC POWER UNIT - Solenoid Operation Single Acting 12V DC - 2,500 PSI
$987.0
HYDRAULIC POWER UNIT - Solenoid Operation  Single Acting  12V DC - 2,500 PSI pictureSCHRADER BELLOWS B445-1001 SOLENOID PILOT VALVE 120V 125PSI 12.5W 1/8 NPTF NIB
$26.99
SCHRADER BELLOWS B445-1001 SOLENOID PILOT VALVE 120V 125PSI 12.5W 1/8 NPTF NIB pictureNuamtic Double Solenoid Wireable Valve 031 SS 600B000061
$20.0
Nuamtic Double Solenoid Wireable Valve 031 SS 600B000061 picture12V Stop Solenoid 1503ES-12S5SUC12S for Woodward
$29.99
12V Stop Solenoid 1503ES-12S5SUC12S for Woodward pictureCountyLine Solenoid Electric Boom Valve (10 GPM, 100 PSI, 12V) - Ships Free
$39.99
CountyLine Solenoid Electric Boom Valve (10 GPM, 100 PSI, 12V) - Ships Free  picture






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