BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 07-30-2009, 10:03 AM   #1 (permalink)
New Member
 
Join Date: Apr 2009
Model: bold
PIN: N/A
Carrier: att
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Attachment handle and chapiDemo didn't work for me.

Please Login to Remove!

I try to add a new application which will handle some office file and some other format. I want to add my application menu into email attachment. My propose is if there is an attachment with an email (.doc, .ppt .pdf or some other format), bring up my application to open it/ or download it. And I don’t want the attachment had x-rimdevice prefix with the file name.

I use jde version 4.6 with simulator bold 9000. And I had several problems:

1 I tried CHAPIDemo, it didn’t work for me. During the start, I got uncaught exception thrown – runtimeException. Message on simulator: “Uncaught exception: applicationRegistry.wairFor(0xd7dcf9c46183cf6) timeout”. When I run “Chapi Demo” from downloads folder, it ask me to “select invoke from the menu”, nothing happens after I selected invoke. (rim.cvs file was in the right place.) I put breakpoints in ChapiDemo.java, doInvoke function been called, but invocationRequestNotify never been called.

2 I insert my menuitem into the MENUITEM_EMAIL_VIEW and also add my menu in AttachmentHandlerManager. (So when in the email view, press track ball will bring the menu which has “open attachment”, “download attachment” and also my custom menu “open file”. I want to register my application into content handler to handle more type of files, but got same error message as I run Chapi Demo. How to make it work???

3 Can one file type has several handlers? If I already had DocTogo on my phone which handle doc file, can I still register my application to handle the same type of file?

Thanks a lot.

Lan
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

as-is lot Adjustable Line Tap Valves/ Bullet Piercing Vtg HVAC parts Mac Watsco
$19.99
as-is lot Adjustable Line Tap Valves/ Bullet Piercing Vtg HVAC parts Mac Watsco pictureVintage Mac Allied Hex Rethreader Dies - # TR-8-U in Case
$10.0
Vintage Mac Allied  Hex Rethreader Dies - # TR-8-U in Case  pictureVINTAGE VELOCETTE MAC MOV GTP KTS MSS REAR FENDER MUDGUARD STEEL REPRODUCTION@kp
$193.19
VINTAGE VELOCETTE MAC MOV GTP KTS MSS REAR FENDER MUDGUARD STEEL REPRODUCTION@kp pictureVINTAGE VELOCETTE MAC MOV GTP KTS MSS FRONT FENDER MUDGUARD STEEL REPRODUCTION
$168.0
VINTAGE VELOCETTE MAC MOV GTP KTS MSS FRONT FENDER MUDGUARD STEEL REPRODUCTION pictureVintage MAC Current Indicator ET3058
$29.0
Vintage MAC Current Indicator ET3058 picture






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