I make mail address.
String to = new String("xxxxx@gmail.com");I make subject.
String title = new String("Hello");I make text contents.
String text = new String("test");I make Intent and set action.
Intent in = new Intent(); in.setAction(Intent.ACTION_SENDTO);I set mail address.
in.setData(Uri.parse("mailto:" + to));I set subject.
in.putExtra(Intent.EXTRA_SUBJECT, title);I set text contents.
in.putExtra(Intent.EXTRA_TEXT, text);I send text.
startActivity(in);source code is here.
Please suggest your android issue by twitter or mail, I would try to clear up your issue.
0 件のコメント:
コメントを投稿