diff options
| author | 2014-08-21 15:31:34 +0000 | |
|---|---|---|
| committer | 2014-08-21 15:31:34 +0000 | |
| commit | 2c374e643d6cce73a71fb57559f898b6b554e36c (patch) | |
| tree | 912e24edca4c7b17e4390a22f6650b08a8111f33 | |
| parent | d309de3d06817e51aab056284874f613238ff400 (diff) | |
| parent | 82957e38b2d38ea41fdf930d722157287eab0590 (diff) | |
am 82957e38: Merge "docs: Fixed typo in intents page. Bug: 16949177" into klp-modular-docs
* commit '82957e38b2d38ea41fdf930d722157287eab0590':
docs: Fixed typo in intents page. Bug: 16949177
| -rw-r--r-- | docs/html/guide/components/intents-common.jd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/guide/components/intents-common.jd b/docs/html/guide/components/intents-common.jd index 3b52b0a078b0..af9456de47f7 100644 --- a/docs/html/guide/components/intents-common.jd +++ b/docs/html/guide/components/intents-common.jd @@ -1678,7 +1678,7 @@ android.net.Uri}s pointing to the images/videos to attach.</dd> <p><b>Example intent:</b></p> <pre> public void composeMmsMessage(String message, Uri attachment) { - Intent intent = new Intent(Intent.ACTION_SEND); + Intent intent = new Intent(Intent.ACTION_SENDTO); intent.setType(HTTP.PLAIN_TEXT_TYPE); intent.putExtra("sms_body", message); intent.putExtra(Intent.EXTRA_STREAM, attachment); |