Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7850667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:56:11+00:00 2026-06-02T18:56:11+00:00

Hello Friends i am using Media controler in my code and i am including

  • 0

Hello Friends i am using Media controler in my code and i am including below code but can any body tell me what should i write inside this methods so i can play next and previous songs in media player .

        mediaController.setPrevNextListeners(new View.OnClickListener() {
              @Override
              public void onClick(View v) {
                //next button clicked

                  myVideoView.setVideoPath(filename);
              }
            }, new View.OnClickListener() {
              @Override
              public void onClick(View v) {
                //previous button clicked
              }
            });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T18:56:12+00:00Added an answer on June 2, 2026 at 6:56 pm

    You will have an array list like this..

     ArrayList<String> filename = new ArrayList<String>();
    

    with all the files you want to play..

    maintain an index of currently being played filename… and you can move to next and previous filenames using that index..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello friends i am running code given below which contains the setLogTimeEntery function and
Hello friends I am using this code in my view.. Using this code I
Hello friends i need to get user information from facebook i am using code
friends, i am using following code to write Serializable object to external storage. it
Hello friends i am using https server data using JSOn webservice but i don't
Possible Duplicate: submit a form using jquery Hello friends How can I submit a
Hello friends i need a book/ tutorials for rails without using scoffold. All the
Hello friends here's my code function dropItems(idOfDraggedItem,targetId,x,y) { var html = document.getElementById('dropContent').innerHTML; if(html.length<=0){ html.innerHTML='<img
Hello Friends check my code http://jsfiddle.net/sUaky/2/ i want to load a web page in
Hello Friends I am using a list box control in aspx page i have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.