If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

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
New Contributor
gambit66
Posts: 8
Registered: ‎01-02-2013
My Device: dev alpha
My Carrier: Vodacom

PDF Rendering for Cascades Development on BB10

[ Edited ]

 

Is it possible to display PDF's in an app on BB10 without writing a PDF renderer from scratch. I'm hoping there is a native render built into the OS but will licence a 3rd party library if reasonably priced. If anyone has any suggestions or solutions it would be appreciated.

Please use plain text.
Developer
zezke
Posts: 1,004
Registered: ‎12-12-2010
My Device: Z10 (red Limited Edition)
My Carrier: Mobile Vikings

Re: PDF Rendering for Cascades Development on BB10

Good question, I was looking for this answer as well. Anyone?

-------------------------------------------
BlackBerry Certified Builder for Native Application Development -- Proud member of the Belgian BlackBerry Developer group
Samples: Park in Ghent
Feeling generous? Nominate me for BB Elite member!
Please use plain text.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: PDF Rendering for Cascades Development on BB10

Depends what you mean by "display in app". The Adobe Reader PDF viewer will be invokable as a "Card", which means it would slide in from the right into your app to view a PDF. I don't think there's any support yet for "embeddable" Cards, however, so I don't think you could have it take up less than the fullscreen and be surrounded by "chrome" related to your own app, but it's a start. Not sure the Adobe Reader invocation info has been documented yet...

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Developer
MohanadHamed
Posts: 16
Registered: ‎12-09-2012
My Device: BlackBerry Z10
My Carrier: Umniah

Re: PDF Rendering for Cascades Development on BB10

There is a PDF reader source code has been released recently for cascades BB10, it renders PDF pages as images with any resolution you specify.

 

You can find the demo on Appworld here:

http://appworld.blackberry.com/webstore/content/31100889/

 

And you can buy the source code here:

http://www.raheebworld.com/raheebpdf.html 

 

 

Thanks.

Please use plain text.
Developer
MohanadHamed
Posts: 16
Registered: ‎12-09-2012
My Device: BlackBerry Z10
My Carrier: Umniah

Re: PDF Rendering for Cascades Development on BB10

You can also buy the code as an in-app purchase inside the demo.

http://appworld.blackberry.com/webstore/content/31100889/
Please use plain text.