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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:58:03+00:00 2026-05-23T17:58:03+00:00

Hi I am new to android development and I’m working on a game. Right

  • 0

Hi I am new to android development and I’m working on a game. Right now I have a cutsceen right now which is a videoview that is called after hitting the start button of the game. I want to be able to be able to end the cutsceen activity immediately after the video ends, but I’m not sure how to do that. At first I tried putting a timer for 25 seconds in onCreate, but that failed since onCreate only happens once. As it is now I have a button to end to the cutsceen, but my question is how do I get the cutsceen activity to end and call the game activity after the video directly ends?

  • 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-05-23T17:58:04+00:00Added an answer on May 23, 2026 at 5:58 pm

    First off, I’m not really familiar with game development, but I guess it would work the same way. Anyway, is the video in a VideoView? If so, you can call setOnCompletionListener to it so you will be notified that the video is done playing.

    You can then call finish() on the activity in the callback method.

    public void onCompletion(MediaPlayer mp) {
        finish(); //This will end the current activity
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to android development. Currently i am working on an application which
I'm fairly new to Android development and am working on an app which allows
I'm new to Android development. I have an application that allows the user to
I am new to android development and have a confusion that if an activity(
I am new to android development My eclipse was working properly. But now when
I am new to android development, I apologize that similar questions has been asked
I'm new to android apps development and I have a basic sqlite question. What
I am new to android development. I am creating an android application, in which
I am new to Android development and running into a bizarre issue for which
I am new to Android development and i have been asked to create an

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.