This is a migrated thread and some comments may be shown as answers.

PDF from streaming service

1 Answer 35 Views
HTML5, CSS, JavaScript
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Michael asked on 09 Jul 2014, 09:46 PM
We have a web service running that streams PDF content. On iOS, launching it directly via window.open() works fine, and the PDF is rendered in browser. On Android, however, the same method triggers a download to the device. Is there any way around this? What other options are available for displaying streamed PDF?

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 14 Jul 2014, 01:37 PM
Hello Michael,

It is expected for the file to be downloaded if you are using the _system target for Android devices. This is so, as Android WebView does not have built-in PDF viewer. Thus, you could try using the InAppBrowser functionality instead, by passing _blank as a target. I hope this helps.

Further, please let me know if the above is not the case and I will try to assist you further.

Regards,
Kaloyan
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
Tags
HTML5, CSS, JavaScript
Asked by
Michael
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or