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

Native Development

Reply
Contributor
Posts: 28
Registered: ‎07-04-2013
My Device: BB, 86ABC
My Carrier: IDEA

How to load pdf using url

I need to load pdf in the app using url Link. using static pdf in assets i am able to load. But i have url to load. How to do this?

Developer
Posts: 271
Registered: ‎05-29-2013
My Device: BlackBerry Z10
My Carrier: MTS

Re: How to load pdf using url

Take a look at this solution: http://supportforums.blackberry.com/t5/Cascades-Development/How-to-download-zip-file-And-also-open-e...
-------------------------------------------------------------------------------
NSR Reader for BlackBerry 10 @NSRReader on Twitter
Me @xelfium on Twitter
Contributor
Posts: 28
Registered: ‎07-04-2013
My Device: BB, 86ABC
My Carrier: IDEA

Re: How to load pdf using url

Thanks. I dont want to download it. I just want to send the url to the AdobeReader framework and it has to load the file from server.

Developer
Posts: 271
Registered: ‎05-29-2013
My Device: BlackBerry Z10
My Carrier: MTS

Re: How to load pdf using url

Accroding to https://developer.blackberry.com/cascades/documentation/device_platform/invocation/adobereader.html Adobe Reader can process only local files.
-------------------------------------------------------------------------------
NSR Reader for BlackBerry 10 @NSRReader on Twitter
Me @xelfium on Twitter
Contributor
Posts: 28
Registered: ‎07-04-2013
My Device: BB, 86ABC
My Carrier: IDEA

Re: How to load pdf using url

thanq sap.

 

Contributor
Posts: 28
Registered: ‎07-04-2013
My Device: BB, 86ABC
My Carrier: IDEA

Re: How to load pdf using url

Now I dont want to load pdf using framework. I want to load in Webview. I tried it in WebView. Its not loading. Pls advice.

BlackBerry Development Advisor
Posts: 252
Registered: ‎08-17-2012
My Device: BlackBerry Z10 and Q10
My Carrier: Bell

Re: How to load pdf using url

[ Edited ]

Hello again KishoreTalloju,

 

Please see my post to your question at this link. As an alternative to saving the file locally to the disk, you can try using a ForeignWindowControl inside your application that displays the content. You can checkout the GoodCitizenCascades sample that demonstrates how to use this API.

 

@SamarAbdelsayed

Did this answer your question? Please accept post as solution.
Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker