Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
Posts: 5
Registered: ‎09-12-2008
My Device: Not Specified

Rendering a Word File on a BrowserField

Is possible? I mean I have a .doc file on a web server http://www...../sample.doc and I want to display it on a Java Application. Can I put a browserField in my app and navigate to the URL? When I try to use CHAPI to open it I get "Can't find file" from Word to go application, perhaps I should download it first.

 

Any other alternative? (Browser.displayPage can not be used)

 

BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Rendering a Word File on a BrowserField

The browserfield does not support the rendering of Word Documents.  Have a look at the following link that explains how to open documents in Documents to Go.

 

How To - Open a file in a Documents To Go application

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800639/How_To_...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Posts: 5
Registered: ‎09-12-2008
My Device: Not Specified

Re: Rendering a Word File on a BrowserField

Thanks Mark, but this solution would require to download the document before launching Word to go, right? I have tried to send a URI http://... to Word to go and I get a "File not found error"

Highlighted
BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Rendering a Word File on a BrowserField

Correct, your application would need to download the file first.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker