Three Shoutcast stream urls on three different button clicks respectively.
up vote
0
down vote
favorite
I have three urls and i need to play them on different clicks.
Like
Button one plays url1, Button two plays url2.
I need to run these in background so I'm going to create service.
The question in my mind is should i create service for each?
Three services? Or can i do this with a single service?
Any idea or tutorial or code snippet? Thanks.
service android-mediaplayer
add a comment |
up vote
0
down vote
favorite
I have three urls and i need to play them on different clicks.
Like
Button one plays url1, Button two plays url2.
I need to run these in background so I'm going to create service.
The question in my mind is should i create service for each?
Three services? Or can i do this with a single service?
Any idea or tutorial or code snippet? Thanks.
service android-mediaplayer
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have three urls and i need to play them on different clicks.
Like
Button one plays url1, Button two plays url2.
I need to run these in background so I'm going to create service.
The question in my mind is should i create service for each?
Three services? Or can i do this with a single service?
Any idea or tutorial or code snippet? Thanks.
service android-mediaplayer
I have three urls and i need to play them on different clicks.
Like
Button one plays url1, Button two plays url2.
I need to run these in background so I'm going to create service.
The question in my mind is should i create service for each?
Three services? Or can i do this with a single service?
Any idea or tutorial or code snippet? Thanks.
service android-mediaplayer
service android-mediaplayer
asked Nov 7 at 17:06
Maham
439
439
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53194368%2fthree-shoutcast-stream-urls-on-three-different-button-clicks-respectively%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown