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

New HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21
$56.99
New HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21 pictureINTEL S3000AH SERVER MOTHERBOARD WITH Intel Xeon 3040 CPU
$39.99
INTEL S3000AH SERVER MOTHERBOARD WITH Intel Xeon 3040 CPU pictureHP C7000 COMPLETE SERVER SYSTEM 16 X BL460C BLADES XEON 220GB RAM NICE SYSTEM
$849.99
HP C7000 COMPLETE SERVER SYSTEM 16 X BL460C BLADES XEON 220GB RAM NICE SYSTEM pictureAdlink NuPRO-900A Single Board Computer SBC, Dual Intel Xeon, NuPRO-900A-104
$764.54
Adlink NuPRO-900A Single Board Computer SBC, Dual Intel Xeon, NuPRO-900A-104 pictureDell Electronics PowerEdge 2950 Server (9424)
$49.95
Dell Electronics PowerEdge 2950 Server (9424) picture






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