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

Agilent E5250A Low-leakage Switch Mainframe w/ E5252A Matrix Card, Used
$689.99
Agilent  E5250A Low-leakage Switch Mainframe w/ E5252A Matrix Card, Used pictureMKS Instruments mainframe 260MF-2 type controllers 264A display
$199.99
MKS Instruments mainframe 260MF-2 type controllers 264A display   pictureJDSU MTS8000 / CDRW / P1610 Mainframe Viavi Solutions
$99.0
JDSU MTS8000 / CDRW / P1610 Mainframe Viavi Solutions pictureAgilent HP 81130A Pulse Generator Mainframe, 81132A Module
$2995.0
Agilent HP 81130A Pulse Generator Mainframe, 81132A Module pictureTektronix Oscilloscope 7704 A 7A26 7B85 7B80 7A18 Mainframe System Parts
$89.99
Tektronix Oscilloscope 7704 A 7A26 7B85 7B80 7A18 Mainframe System Parts picture






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