Hi,
with this sample of code, I can take a screenshot and add it as an attachment on iPad and iPhone. However with the same code on android,
the mail popup opens oke, but it failed to add the attachment.
local function sendEmailFromScreenShot()
local pictureDir = system.DocumentsDirectory
display.save(localGroup,"test.png",pictureDir)
native.showPopup("mail", {attachment = {baseDir=pictureDir,
filename="test.png" , type= "image"}})
end
Greetings,
Jürgen
ps: if you need more info, just let me now [import]uid: 19590 topic_id: 19798 reply_id: 319798[/import]
[import]uid: 66859 topic_id: 19798 reply_id: 85036[/import]