jeudi 15 octobre 2020

Consistent PDF Generation

I have been tasked with enabling generating a report from an android app, which is also interfaced with the cloud. So the problem is I have been using Android print manager to generate the report, is there any way you can mirror this to the cloud.

What are standard practices for taking preformatted data, and generating a consistent document from the cloud and android alike?

Ideas: (They don't seem like viable solutions.)

  1. I have attempted to set up a lambda microservice using java8 and adding the android SDK to lambda. This seems complex, and not very likely to work well, even if it is possible.
  2. Uploading the pdf generated in the application to the cloud, then retrieving it from the web/S3 at a later time from the web application.
  3. Adding an ability for the application to run in a docker container ingest and produce pdf data then serve to the web application.

The data contained in the report is as follows:

  1. Text data
  2. Language-specific data that swaps out based on the given context of the application.
  3. A graph generated by a proprietary android library, which could possibly be swapped out for something more general to java.

Has anyone encountered a problem similar to this? And what was your solution?




Aucun commentaire:

Enregistrer un commentaire