开发者

Android - Sending Sound with Intent?

This is a code for firing an SMS intent:

String uri= "smsto:";
Intent smsIntent = new Intent(Intent.ACTION_SENDTO, Uri.par开发者_如何学编程se(uri));
smsIntent.putExtra("sms_body", msgText);
smsIntent.putExtra("compose_mode", true);
startActivity(smsIntent);

How do I send a sound file (.amr file) along with the message?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜