Open Email App
Just wondering if there is a way to open the actual mail app to send an email rather than creating an emailDialog. I would love to pass and email address into the mail app.
Can this be done?
4 Answers
-
Anyone having an answer to this?
-
@Ian Briggs did you find a solution?
-
Hi,
var url = "googlegmail://" Ti.Platform.openURL(url);
Only this way possible.
Thanx,
Dharmik
-
var emailDialog = Titanium.UI.createEmailDialog() emailDialog.subject = "Hello from Titanium"; emailDialog.toRecipients = ['foo@yahoo.com']; emailDialog.messageBody = '<b>Appcelerator Titanium Rocks!</b>'; var f = Ti.Filesystem.getFile('cricket.wav'); emailDialog.addAttachment(f); emailDialog.open();
Reference: http://developer.appcelerator.com/apidoc/mobile/1.0/Titanium.UI.EmailDialog