Just a simple example. You can (of course do a lot more with it)
There are a lot of libs about creating pdf's. With Erel's example (https://www.b4x.com/android/forum/threads/printing-and-pdf-creation.76712/) how to create pdf's on Android devices (it's a build in function of Android 4.4+) I came to the idea to use a phone/tablet to create pdf's and send them to a B4J app.
How it works:
B4A -> create 100 PDF's -> convert to byte array -> AsyncStream -> B4J -> store PDF's as files
What is it good for?
- Create PDF's for free
- usage of x devices as workers to create thousands of PDF's very fast (100 takes about 6 secs)
- you can use Firebase Messaging to trigger a device (not included in the example) to retrieve data form a server-db and create PDF's from it. Send it back to the server (via OKHeetUtils or sockets), mail it to a customer, etc.
There are a lot of libs about creating pdf's. With Erel's example (https://www.b4x.com/android/forum/threads/printing-and-pdf-creation.76712/) how to create pdf's on Android devices (it's a build in function of Android 4.4+) I came to the idea to use a phone/tablet to create pdf's and send them to a B4J app.
How it works:
B4A -> create 100 PDF's -> convert to byte array -> AsyncStream -> B4J -> store PDF's as files
What is it good for?
- Create PDF's for free
- usage of x devices as workers to create thousands of PDF's very fast (100 takes about 6 secs)
- you can use Firebase Messaging to trigger a device (not included in the example) to retrieve data form a server-db and create PDF's from it. Send it back to the server (via OKHeetUtils or sockets), mail it to a customer, etc.