<p><span style="color: #404040; font-family: 굴림;">Intent i = new Intent(Intent.ACTION_SEND);&nbsp;</span><br style="color: #404040; font-family: 굴림;" /><span style="color: #404040; font-family: 굴림;">i.setType("plain/text");&nbsp;</span><br style="color: #404040; font-family: 굴림;" /><span style="color: #404040; font-family: 굴림;">i.putExtra(android.content.Intent.EXTRA_EMAIL, new String[] { "받는사람메일" });&nbsp;</span><br style="color: #404040; font-family: 굴림;" /><span style="color: #404040; font-family: 굴림;">i.putExtra(android.content.Intent.EXTRA_SUBJECT, "제목");&nbsp;</span><br style="color: #404040; font-family: 굴림;" /><span style="color: #404040; font-family: 굴림;">i.putExtra(android.content.Intent.EXTRA_TEXT, Html.fromHtml("메시지내용"));&nbsp;</span><br style="color: #404040; font-family: 굴림;" /><span style="color: #404040; font-family: 굴림;">startActivity(i);&nbsp;</span><br style="color: #404040; font-family: 굴림;" /><br style="color: #404040; font-family: 굴림;" /><span style="color: #404040; font-family: 굴림;">위 내용은 일반적은 메일 보내기 코드, 안드로이드에 깔려있는 다른 메일프로그램을 로딩한다.&nbsp;</span><br style="color: #404040; font-family: 굴림;" /><br style="color: #404040; font-family: 굴림;" /><span style="color: #404040; font-family: 굴림;">Uri uri = Uri.fromFile("파일패스");&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><br style="color: #404040; font-family: 굴림;" /><span style="color: #404040; font-family: 굴림;">i = new Intent(Intent.ACTION_SEND);&nbsp;</span><br style="color: #404040; font-family: 굴림;" /><span style="color: #404040; font-family: 굴림;">i.setType("message/rfc822");&nbsp;</span><br style="color: #404040; font-family: 굴림;" /><span style="color: #404040; font-family: 굴림;">i.putExtra(android.content.Intent.EXTRA_SUBJECT, "제목");&nbsp;</span><br style="color: #404040; font-family: 굴림;" /><span style="color: #404040; font-family: 굴림;">i.putExtra(android.content.Intent.EXTRA_TEXT, Html.fromHtml("메시지내용"));&nbsp;</span><br style="color: #404040; font-family: 굴림;" /><span style="color: #404040; font-family: 굴림;">i.putExtra(android.content.Intent.EXTRA_STREAM, uri);&nbsp;</span><br style="color: #404040; font-family: 굴림;" /><span style="color: #404040; font-family: 굴림;">startActivity(i);&nbsp;</span></p>