P PacoViv Member Licensed User Mar 8, 2017 #1 Hello, This is my first post, sorry for any inconvenience. It's about the PDFjetB4A library When I run the PDFjet-Simple example it creates a pdf file in my sdcard0 but that file has 0 bytes and can not be opened. I downloaded the PDFjetB4A-library-files-v1.10.zip and the PDFjet-SimpleExample.zip from this post https://www.b4x.com/android/forum/threads/pdfjetb4a.37843/ I had to add to the manifest the line: SetApplicationAttribute(android:theme, "@android:style/Theme.Holo") As sugested by the B4A IDE No errors, just the pdf created is empty Any help? Thanks in advance. My B4A version 5.02(1) Last edited: Mar 8, 2017
Hello, This is my first post, sorry for any inconvenience. It's about the PDFjetB4A library When I run the PDFjet-Simple example it creates a pdf file in my sdcard0 but that file has 0 bytes and can not be opened. I downloaded the PDFjetB4A-library-files-v1.10.zip and the PDFjet-SimpleExample.zip from this post https://www.b4x.com/android/forum/threads/pdfjetb4a.37843/ I had to add to the manifest the line: SetApplicationAttribute(android:theme, "@android:style/Theme.Holo") As sugested by the B4A IDE No errors, just the pdf created is empty Any help? Thanks in advance. My B4A version 5.02(1)
P PacoViv Member Licensed User Mar 8, 2017 #2 And also I see (adding msgboxs) that the program does not arrive to the line PDFTextLine.SetPosition(10, 10+PDFFont1.GetHeight) But no error shown. Upvote 0
And also I see (adding msgboxs) that the program does not arrive to the line PDFTextLine.SetPosition(10, 10+PDFFont1.GetHeight) But no error shown.
Erel B4X founder Staff member Licensed User Longtime User Mar 9, 2017 #3 I'm not familiar with this library. If you are targeting Android 4.4+ then you can use this library to create PDF documents: https://www.b4x.com/android/forum/threads/76712/#content Upvote 0
I'm not familiar with this library. If you are targeting Android 4.4+ then you can use this library to create PDF documents: https://www.b4x.com/android/forum/threads/76712/#content
P PacoViv Member Licensed User Mar 9, 2017 #4 Thank you Erel. I'm studying that library. I'm testing with b4abridge on a phone with Android 4.1.2 I'm purchasing a new phone. I guess is not enough to change something like <uses-sdk android:minSdkVersion="19" android:targetSdkVersion="23"/> to the manifest instead of <uses-sdk android:minSdkVersion="5" android:targetSdkVersion="14"/> (that I have now) and the physical phone must have Android 4.4+ Thanks again. Upvote 0
Thank you Erel. I'm studying that library. I'm testing with b4abridge on a phone with Android 4.1.2 I'm purchasing a new phone. I guess is not enough to change something like <uses-sdk android:minSdkVersion="19" android:targetSdkVersion="23"/> to the manifest instead of <uses-sdk android:minSdkVersion="5" android:targetSdkVersion="14"/> (that I have now) and the physical phone must have Android 4.4+ Thanks again.
Erel B4X founder Staff member Licensed User Longtime User Mar 9, 2017 #5 No, it is based on features added in Android 4.4. Upvote 0