问题描述:

I tested my videoView on one device and it works fine but on the other device it gives a dialog - Cant Play the video with error in the logcat -

QCMediaPlayer mediaplayer NOT present

MediaPlayer: error (1, -1005)

My videoView code

final VideoView viz = (VideoView) dialog.findViewById(R.id.vidn);

Uri vidUri = Uri.parse(feedob);

viz.setVideoURI(vidUri);

viz.start();

I've learnt that this error means Connection lost but my internet connection is well and don't know why is this error ccoming up. Please help.

相关阅读:
Top