Invalid Format in Android

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v8)  /  Invalid Format in Android

DynamicPDF CoreSuite for .NET (v8) Forum

 Jun 22 2016 12:26 AM
Why all PDF files generated with these libraries are not accessible from Android?

When you try to open the PDF (in an Android device) the message is: "Invalid Format"

To open the file, I tried using the the Adobe App, Google Viewer, OfficeSuit + PDF and other apps

My program is like this...

Dim MyDocument As Document = New Document
MyDocument.Creator = "xxx"
MyDocument.Author = "yyy"
MyDocument.Title = "zzz"
MyPage = New Page
MyDocument.Sections.Begin()
MyPage.Elements.Add(...)
MyPage.Elements.Add(...)
MyPage.Elements.Add(...)
MyDocument.Pages.Add(MyPage)
MyDocument.DrawToWeb("Etiquetas.pdf")

The PDF from the WEB page works fine in a PC and MAC, but not in Android device.

can someone help me?
 Jul 06 2016 10:52 AM
Posted by a ceTe Software moderator
Hello,

We have done some testing and we are able to open the PDFs generated by DynamicPDF API on Android devices using Chrome and Firefox browsers. Based on what you are describing, the specific Android device you are using seem to be unable to open the PDF for some reason. Our product is generating the PDF correctly as you are able to open the PDFs without any problems on PC and Mac.

You can try the Chrome or FireFox browsers on your Android device and see if that helps. You can also try and download the PDF to your Android device and open it using Adobe Reader for Android.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 10:48 PM.