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

Create PDF file

6 Answers 64 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Emanuel
Top achievements
Rank 1
Emanuel asked on 14 Feb 2013, 04:29 PM

Ive been using 
BytescoutPDF.js, to create my own pdf files using java script, it works nicely on mist simulator (google Chrome), but when I generate the apk and install it on my android tablet, the app doesnt show the links to generate the pdf anymore. Is it because icenium browser? 

Do you know any other options to create my own pdf files in order to save it??
Thanks

6 Answers, 1 is accepted

Sort by
0
Kristian D. Dimitrov
Telerik team
answered on 19 Feb 2013, 06:23 PM
Hello,

 I took a look at BytescountPDF documentation. Make sure that the "CreatePDF()" is called on the appropriate event for example "$(document).ready()" or a button's touchstart event. Downloading the file is not a trivial task, but we have some ideas. We will need some time to prepare a sample for this scenario and we will post it as soon as its ready.

Kind regards,
Kristian D. Dimitrov
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Emanuel
Top achievements
Rank 1
answered on 19 Feb 2013, 07:37 PM
That would be Great, thanks for reply, i will be expecting for your sample code.
0
Kristian D. Dimitrov
Telerik team
answered on 21 Feb 2013, 01:49 PM
Hi,

 You can take a look at the sample here. It uses the Cordova File API to write the file inside the application's folder. For opening the file, Child Browser plugin is used.

Regards,
Kristian D. Dimitrov
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Emanuel
Top achievements
Rank 1
answered on 22 Feb 2013, 01:54 PM
Great It creates and download pdf  perfect!!!, but after creation i cant open it with "open" button, in this case Child Browser plugin doest work for android??

Thanks, nice work.
0
Kristian D. Dimitrov
Telerik team
answered on 22 Feb 2013, 04:21 PM
Hello,

Make sure you have Adobe Reader for Android installed on the device, otherwise the document won't open.

If you have Adobe Reader and the open button still doesn't work, please share the device model and OS version so we can assist further if we can.

Regards,
Kristian D. Dimitrov
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Emanuel
Top achievements
Rank 1
answered on 22 Feb 2013, 07:32 PM
That made the trick, i had not the correct version of adobe acrobat installed....
Thanks for your effort.
Greetings
Tags
General Discussion
Asked by
Emanuel
Top achievements
Rank 1
Answers by
Kristian D. Dimitrov
Telerik team
Emanuel
Top achievements
Rank 1
Share this question
or