2011-07-12 7 views
0

私は、SMSの意図を発射するには、このコードを持っている:SMSインテントでサウンドファイルを送信しますか?

String uri= "smsto:"; 
Intent smsIntent = new Intent(Intent.ACTION_SENDTO, Uri.parse(uri)); 
smsIntent.putExtra("sms_body", msgText); 
smsIntent.putExtra("compose_mode", true); 
startActivity(smsIntent); 

私はattach a sound file (.amr file) to the messageにしたいです。このファイルはraw folderにあります。

これを行うことはできますか?そしてどうやって?

答えて

0

MMSの送信方法はthis、MMSインテントに提供するストリームの取得方法はthisをご覧ください。

関連する問題