android - How do I play videos sequentially; one after the other? -


i developing android application in reading video links web services , displaying them in listview. want when click on video link starts playing , @ end of video next video starts playing automatically (just playlist).

        myvideoview.setvideopath(vidpath);         myvideoview.setmediacontroller(new mediacontroller(this));         myvideoview.requestfocus();         myvideoview.start();         myvideoview.setoncompletionlistener(completionlistener);   oncompletionlistener completionlistener=new oncompletionlistener() {    @override public void oncompletion(mediaplayer mp) {     // todo auto-generated method stub     mp.stop();         //list1 list.     = (i + 1) % list1.size();          //lstplay listview.     lstplay.setitemchecked(i, true);         setup(i);   } }; 

hope you.for reference, reference1,reference2


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -