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

MSA Altair 5X Multi-Gas Detector 
$300.0
MSA Altair 5X Multi-Gas Detector  pictureMSA Altair 5 multi gas detector calibrated with Cal Certificate & Color display
$500.0
MSA Altair 5 multi gas detector calibrated with Cal Certificate & Color display pictureMSA ALTAIR SINGLE-GAS DETECTOR FOR H2S, PRE-OWNED, 18 months
$30.0
MSA ALTAIR SINGLE-GAS DETECTOR FOR H2S, PRE-OWNED, 18 months pictureAltair Inc. Fuel Valve Directional Control, 30-600PSI, PN: 383V500 E
$89.99
Altair Inc. Fuel Valve Directional Control, 30-600PSI, PN: 383V500           E picture MSA-altair-4x-personal-air-monitor
$99.0
 MSA-altair-4x-personal-air-monitor   picture






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