This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal. |
I follow this article , but it's not work ;
https://basecamp.kony.com/s/question/0D56A00000AnrhjSAB/how-to-convert-base64-to-pdf-and-save-it-to-device-in-kony
============
I try this code and when open will show blank screen.
===============
var newb64 = "base64string";
var browserString ="<html>\n<body>\n<div id=\"pdf\" >\n<object type = \"application/pdf\" data=\"data:application/pdf;base64,"+newb64+"\""+"width=\"100%\" height=\"100%\">\n</object>\n</div>\n</body>\n</html>";
kony.print("callPdf2View browserString = "+browserString);
Form1.browserTest.htmlString = browserString;
Form1.show();