Created
August 26, 2011 14:40
-
-
Save appcdr/1173552 to your computer and use it in GitHub Desktop.
Android Send Text Intent
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
var intent = Ti.Android.createIntent({ | |
action: Ti.Android.ACTION_SEND, | |
type: "text/plain" | |
}); | |
intent.putExtra(Ti.Android.EXTRA_TEXT, 'Some text that we want to share'); | |
intent.addCategory(Ti.Android.CATEGORY_DEFAULT); | |
Ti.Android.currentActivity.startActivity(intent); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment