Answer the question
In order to leave comments, you need to log in
Music control in android app?
What is the best way to implement so that when switching to a new activity, the music does not stop, and then when returning to the activity, it does not start again, i.e. to make it so that during the transitions between activities (back and forth and vice versa) the music is played without stopping?
Answer the question
In order to leave comments, you need to log in
For example, a service might handle network transactions, play music, perform file I/O, or interact with a content provider, all from the background.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question