Hi
this code
local function showMailPicker() -- Create mail options -- local options = { to = "my@email.com", subject = "some text", body = " ", attachment = { baseDir=system.DocumentsDirectory, filename="file.txt", type="text" }, } -- Send mail -- native.showPopup("mail", options) end
this function is then triggered on a touch event. but instead of getting straight to the email program on android, I get the selection menu for Facebook, Twitter, SMS, bluetooth, gmail, …
Can this be avoided?