0

I am working on an Android app that allows users perform some financial transactions, but i need to build receipt from the API response, this receipt needs to be saved as an image on the user device. I am currently programmatically taking the screenshot of the final page but this is not enough as the details are incomplete, on clicking on the save button of the final success dialog, I need to get some details from the response body and dynamically create a receipt that will be saved on the user device for reference, I see some financial institution mobile application do this and i know it is possible. I tried making few researches and i read about Android PdfDocument API here. But it won't solve my problem as i need this details to go into an image not a pdf file. Any reference, idea, or code snippet would be appreciated. Thank you in anticipation.

0 Answers0