I’m building an app for both iPhone and Android, and using the code below to send an email from the app:
[lua]mailURL=“mailto:address@gmail.com”
mailURL = mailURL…"?subject=App%20Feedback"
mailURL = mailURL…"&body=Please%20share%20your%20opinion%20with%20us"
system.openURL(mailURL)[/lua]
When the code is invoked on an Android device, I get the normal “choose application” dialog, I choose Gmail and get the standard “compose email” screen.
The problem is that the subject and body of the email are populated correctly with “App Feedback” and “Please share your opinion with us”, but the “TO:” field is blank.
I only see this on Android (have not tested it on iPhone yet).
I’m using Corona build 2011.527 and I see the same result on Samsung Gravity S and Archos 101, both running Android 2.2.
What am I doing wrong?
Thanks for the help,
Alex
[import]uid: 36986 topic_id: 10890 reply_id: 310890[/import]