android-sdk
android-sdk copied to clipboard
Play song with custom notification
play song function working perfectly but i dont want to use spotify's default sticky notification. Can i hide it or create a custom notification for my app when user play song. Because user should not skip the song in my app scenario.
Hey, I haven't tried this but remember that you can define a stream type as a second argument when you start playing a track. https://spotify.github.io/android-sdk/app-remote-lib/docs/com/spotify/android/appremote/api/PlayerApi.StreamType.html
In the example they say it's for ALARM sounds, so maybe in this case they won't show the notification? Maybe this helps.
hi @skyberk have to tried anything or is there any way to solve this problem ... i am facing same problem.... Waiting for you reply.