You have to place the image in the Canvas.Backgdround and set Canvas.Height to 300pixels and Canvas.Width to about 350 pixels. Adjust either the image or the pixels.
This will work but you have to adjust the DrawText parameters to suite.
If you compiled the aia and installed the apk, the file should be on your Internal Storage can be found with the my Files app. It can be retrieved with
How to manually attach the qsl image you saved on your device using the example above. Used it since ActivityStarter can not attach and other tools have lots of additional 'work' to attach an image.
Open Gmail on you phone.
Tap the pencil icon to start the email.
Add a recipient in the gmail app. I sent the qslimage1.png to myself.
Tap the paperclip icon to bring up a list of recent images stored on the phone.
Select the qslimage1.png to attach your QSL card.
Tap the Send arrow.
This method works and takes less than a minute to implement.
You can also attach to the ActivityStarter set up screen. Set it up to send a conventional email. Use the paper clip to attach the QSL card.
Steve wy is it that when i use te emulator in th virtual memery i see the card
when i set it on my samsung as a app i can't find qslimage1.png anywhere
This was tested on a Samsung A13 Android 13. It may not work on lower Android versions.
On my cell phone, if you use the SaveImage button a copy of the image should be stored in file:///storage/emulated/0/Pictures/qslimage1.png . You must save the image in that directory before you can 'see it'. To view the qsl image, use your Android's file app called My File in the system Pictures folder. Find the green circled file and double click it to view.
Be aware @fransko , for your phone to create the image in Pictures you MUST build the apk. The qsl won't load to Pictures if you use Companion to run the app. Have you used the app and loaded the apk to the phone?