Two things I would like to be able to accomplish with a new ap for an android tablet:
1) Generate a PDF of a data summary or a report that can be saved or emailed, and
2) Use the camera in the tablet to take a photo, and then place that photo into a data report.
Can Basic4Android do either, perhaps with the help of other code or software add-ins?
I am not sure where it is at this time. But I did see a library that will create PDF files. Try looking under the libraries section and I think you will find it.
The lib is called PDFWriter created by XverhelstX based on java source.
He recently added the ability to include an image in the pdf document.
Unlike what most of us are familar with, say saving a Word doc as a PDF (ie Cutepdf); you must create and format the pdf yourself - every line and page. This works well when you have a very specific format like 3 columns containing 20 characters each. It won't however, take a 60 word paragraph and format it for you in the desired page place - since there is no word wrap on text lines.
I find this very useful even without a paragraph control. Many await the "report writer" for android (that will output to a PDF) - but I can't quite imagine what that would look (work) like....
Hello,
my App neds a PDF-Output with Bitmaps, table data and graphic. B4A-PDFWriter seems to be to short for that.
So I thought to use the free FPDF.PHP-Class within a PHP-Web-Service.
Could this be a good idea? May be anyone has done so already?
Another question for the same issue:
There is an open VB-Class for PDF-Creation (download from VB-Tec - Visual Basic - aus der Praxis für die Praxis). It is stand allone and needs no further code.
May be it makes sence to port this VB-Class to a B4A-Class? I would try myself, but I am too new with B4A.
Regards Ulrich