freinds,
我使用以下code,以显示我的应用程序中的MP4视频和面临以下问题
i am using following code to display a mp4 video in my application and facing following problems
我已经看到了与此相关的问题对谷歌这么多的职位,但计算器每一位给他自己的建议,并没有常见的答案。
i have seen so many posts related to this issue on google and stackoverflow but every one giving his own suggestions and there is no common answer.
1)我不能看到视频模拟器2)在不同的手机有时rarly视频播放,大部分时间它给上述消息。
1) i cannot see video in emulator 2) in different phone sometime rarly video is played and most of the time it give above message.
我的code
VideoView myVideoView = (VideoView)findViewById(R.id.videoview); String viewSource ="dev.hpac.dev-site/sites/default/files/videos/about/mobile.mp4"; myVideoView.setVideoURI(Uri.parse(viewSource)); myVideoView.setMediaController(new MediaController(this)); myVideoView.requestFocus(); myVideoView.start();任何一个指导我该如何解决这个问题任何帮助将是AP preciated。
any one guide me what is the solution to this problem any help would be appreciated.
推荐答案尝试此链接
r00tsecurity/forums/topic/12059-android -videoview,例如/
www.helloandroid/tutorials/如何播放视频和音频功能的Android
更多推荐
抱歉,此视频无法在videoview播放?
发布评论