开发者

MMs code for android

How to Attach video file to my application , and how to show video in videoview ? have a开发者_Python百科ny idea about send sms with attached videofile means(mms) in android? if possible , any body give me the Sample code about it??


Intent sendIntent = new Intent(Intent.ACTION_SEND); 
sendIntent.putExtra("sms_body", "some text"); 
sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(url));
sendIntent.setType("video/mpeg"); 

That should be all you need.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜