videoview - Android E/ExtMediaPlayer-JNI: env->IsInstanceOf fails E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0 -
i trying play video song in app video-view. nothing except black screen, , display error 'can't play video'.it seems there no errors such in code except log cat errors have never heard of.
videoview videoview =(videoview)findviewbyid(r.id.video_view_ex); mediacontroller mediacontroller= new mediacontroller(this); mediacontroller.setanchorview(videoview); uri uri= uri.parse(environment.getexternalstoragedirectory().getpath()+"/memory card/video/na na na na -dj 9dip.mp4"); videoview.setmediacontroller(mediacontroller); videoview.setvideouri(uri); videoview.requestfocus(); videoview.start();
wiki
Comments
Post a Comment