V
V
vikS2013-07-08 17:14:27
Android
vikS, 2013-07-08 17:14:27

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

2 answer(s)
T
Toseter, 2013-07-08
@Toseter

For example, a service might handle network transactions, play music, perform file I/O, or interact with a content provider, all from the background.

developer.android.com/guide/components/services.html

V
vikS, 2013-07-08
@vikS

And unless without Service to not make in any way? using only MediaPlayer?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question