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 8276317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:20:24+00:00 2026-06-08T08:20:24+00:00

In iPhone, we can use AVQueuePlayer , AVAsset , and AVPlayerItem if we want

  • 0

In iPhone, we can use AVQueuePlayer, AVAsset, and AVPlayerItem if we want to play a list of movies sequentially. It is very convenient over MPMediaPlayer and MPMediaPlayerController in iPhone. From, apple documentation:

AVQueuePlayer is a subclass of AVPlayer you use to play a number 
of items in sequence.

So, my question is, is there anything like that in android which we can use instead of MediaPlayer and VideoView.

  • 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-08T08:20:25+00:00Added an answer on June 8, 2026 at 8:20 am

    In Android, there is no automatic way of playing sounds in sequence (at least not a “built-in” one). If you need to start playback of the second sound when the first one finishes, you can use method

    public void setOnCompletionListener (MediaPlayer.OnCompletionListener listener)
    

    of the MediaPlayer to start the second playback when the first one is finished. Something like this:

    MediaPlayer player = MediaPlayer.create(context, uriOfFirstSound);
    player.setOnCompletionListener(new OnCompletionListener(
        public void onCompletion(MediaPlayer mp) {
            mp.setDataSource(context, uriOfNextSound);
            mp.prepare();
            mp.start();
        }
    ));
    player.prepare();
    player.start();
    

    Naturally, if you have more than two sounds, you can do this in a loop.

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

Sidebar

Related Questions

In my project I should use midi file, but iphone can't play them. I
Is there any iTunes API for the iPhone OS which I can use to
My iPhone app can't seem to use soft keyboards that doesn't use the US-like
I need to use Twitter api from iPhone 3.0 (SDK 3.0). can i use
It seems that in the future, we can just use the non-beta iPhone SDK
I am totally in confusion. Apple told that in iPhone 4 one can use
I am absolutely new to Mac world. Which IDE I can use for iPhone,
how can use vibrate when iPhone shaking ? here is my code : #pragma
My iPhone app generates some very nice-looking plist files. I can look at them
So an iPhone can pair with a Bluetooth headset and use it to make

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.