I am making an app in which I've made a Service which plays Music from URLs. The thing is that my music Service is playing music correctly BUT when user plays any song with Native music player then BOTH(Native Player and My Music Service) are playing music simultaneously. I want to stop My Music Service when user started playing music with native player.
Is there any Broadcast
Intent
which i can register to Detect the music player is started?Is it possible to detect Music player Started?
Any Other Solution?
Any suggestions would appreciated.