Created
July 1, 2014 10:03
-
-
Save Amimul100/0239543b47cf4770a075 to your computer and use it in GitHub Desktop.
e-Mail Dialog in Titanium Classic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Hi, I have tested this issue in Ti SDK 3.3.0.RC. It’s working good. | |
Testing Environment: | |
Titanium SDK: 3.3.0.RC, 3.2.3.GA | |
Titanium CLI: 3.2.3 | |
Android and iOS device | |
Appcelerator Studio, build: 3.3.0.201406271159 | |
Step to Reproduce | |
Create a sample Ti Classic project from AppC Studio | |
Update app.js file with test code | |
Run on Android and iOS device | |
A modal window will open | |
*/ | |
var emailDialog = Ti.UI.createEmailDialog(); | |
emailDialog.subject = "Hello from Titanium"; | |
emailDialog.toRecipients = ['[email protected]']; | |
emailDialog.messageBody = '<b>Appcelerator Titanium Rocks!</b>'; | |
var f = Ti.Filesystem.getFile('cricket.wav'); | |
emailDialog.addAttachment(f); | |
emailDialog.open(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment