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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:41:24+00:00 2026-06-14T02:41:24+00:00

I wan’t my mediaPlayer to continue playing when the user opens a new Intent

  • 0

I wan’t my mediaPlayer to continue playing when the user opens a new Intent to access a menue.

I thought this could be handeled like this:

  • Pause the Player
  • Put player into the extra bundle
  • Pass bundle to new menueIntent
  • Let menueIntent call player.start()

But even if this will work, I guess it will suffer from lags.
Is there any way to continue playing background sound when the current intent is paused?

  • 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-14T02:41:25+00:00Added an answer on June 14, 2026 at 2:41 am

    Why bother so much when you have a thing called Service? Just create a Service, put your playing code inside it and communicate with the Service from any Activity you want. You can read more about Services here. Hope this helps.

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

Sidebar

Related Questions

Lets say I wan't to add 1 to an integer. This will only be
I wan't to use this controll in my app but cant find which it
I wan't to search a filename for example like this string: $filetype = file.php.jpg;
I wan't to do some calculated pixelart with OpenCL and display this directly on
I wan to ask you, how to handle keys on certain area with this
I wan to get id from the gridview and using this code string UserID
I wan't to try to load a class and if this class can't be
I wan to insert this line of code: xml:lang=<?php echo $this->language; ?> lang=<?php echo
Hi I wan to create a contact, so here is my code: Intent addPersonIntent
This is my folder structure I wan to call a partialview from my view

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.