Hello All,
I tried to make a link on a button witch allows to users to tell a friend about this app, but it didn’t work…
[lua]local function openMail (event)
if event.phase == “release” then
local openMailUrl = “mailto:?subject=This App is Good&body=Download it know !”
system.openURL( openMailUrl )
end
end
local btn_mail = ui.newButton{
default = “someBut.png”,
over = “someButOn”,
onEvent = openMail,
id = “tabMail”
}
[/lua]
Maybe i’m missing something… Can you help me, please ?
I’ve seen it working on others app ( like wiki cockail machine (build with corona) ) [import]uid: 3638 topic_id: 3420 reply_id: 303420[/import]