开发者

How to start video using intent android

开发者 https://www.devze.com 2023-03-16 16:39 出处:网络
I am trying to start the video media type u开发者_如何学Pythonsing intents. I am completely new to this. I would appreciate a heads up. Intent tostart = new Intent(Intent.ACTION_VIEW);

I am trying to start the video media type u开发者_如何学Pythonsing intents. I am completely new to this. I would appreciate a heads up.


Intent tostart = new Intent(Intent.ACTION_VIEW);
tostart.setDataAndType(Uri.parse(movieurl), "video/*");
startActivity(tostart);
0

精彩评论

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