By rassall_jubair
on Wed, 06/20/2012 - 17:11
Hi,
I able to play a video where video file stored in .apk. Video successfully play after detect the marker but the problem is after play the video, when I press back button it exit the application. where it should be again come to video capturing mode after press back button. Can any one help me.
setContentView(R.layout.main);
VideoView vd = (VideoView) findViewById(R.id.VideoView);
Uri uri = Uri.parse("android.resource://"+getPackageName() + "/"+R.raw.intro1);
mc = new MediaController(this);
vd.setMediaController(mc);
vd.setVideoURI(uri);
vd.start();
Can any one help me.
Regards
Rassall
Re: video play application exit after press back button
Re: video play application exit after press back button