Taking a Screenshot and Emailing It

Has anyone created (or is it even possible?) the very common feature that many apps have of taking a screenshot of the app and then starting an email message with the screenshot attached? Is that even possible from within Corona?? I know we can save screenshots to the photo library but I don’t see anything in the docs or website about generating an email message with the screenshot attached.

-Mark [import]uid: 9189 topic_id: 4282 reply_id: 304282[/import]

you can do it by talking directly to an smtp server, composing an email from scratch, and encoding the image bits into the email.

unfortunately, we don’t have sample of how to do that as there are plenty of references on 64bit encoding and email attachments source code on the cloud.

carlos [import]uid: 24 topic_id: 4282 reply_id: 13292[/import]

Thanks Carlos. I also take it there is no way for Corona to talk to the built in Mail app?

-Mark [import]uid: 9189 topic_id: 4282 reply_id: 13294[/import]

Hi and what about taking a screenshot ?
[import]uid: 13156 topic_id: 4282 reply_id: 28073[/import]

Hmmmmmmmmmm … :wink:

Lets see…http://developer.anscamobile.com/resources/apis/

Wonder if those clowns would have such a thing…

Ah … those punks from corona…

http://developer.anscamobile.com/reference/index/displaycapturescreen

and

http://developer.anscamobile.com/reference/index/systemopenurl
[import]uid: 24 topic_id: 4282 reply_id: 28109[/import]

you are right please forgive me . I found this after couple seconds AFTER wrote a post. [import]uid: 13156 topic_id: 4282 reply_id: 28110[/import]