@ankitagrawal This is for you
So I have created the following functionalities,
Play,forward and previous buttons
Now I am creating a service but the problem now I am facing is that I already have a Media player button and I write a service class for it How am I gonna handle with the new mediaplayer object that will be created in that class ?
My guesses are the below,Please correct me if I am wrong,
1. Start the service from the fragment and along with the intent pass the extras in collections such as the file path,file name and the current index of the song.