I have tried to make an application in android to play, pause and stop a song with one button only.
Can anyone show me how can I make that application?
if you have the reference for the button at onClickListenerObject, you may call setOnClickListener in there.