Skip to content

Instantly share code, notes, and snippets.

@brendanmoore
Created September 11, 2015 12:29
Show Gist options
  • Save brendanmoore/76ceb14d4f070c8e1320 to your computer and use it in GitHub Desktop.
Save brendanmoore/76ceb14d4f070c8e1320 to your computer and use it in GitHub Desktop.
Spotify Android use case

Use case for deep linking Spotify Now-playing

I listen to Spotify alot when I am driving, I have a bluetooth handsfree kit with plays the music through my car stereo. I want to reduce the time it takes to get music playing. Currently my flow is:

  • Get in car
  • Get out phone
  • Swipe to unlock
  • Find spotify app
  • Open app
  • Click play
  • Make sure screen off, to prevent miss taps
  • Put phone in phone holder
  • Drive, listen, enjoy.

This kinda pisses me off it takes a while, especially if I stop my car briefly and turn the ignition off and then want to get going again. Anyway I digress... so I thought I could simplify this. If I stuck an NFC sticker to my phone cradle that opens my spotify now-playing I would be like this:

  • Get in car
  • Put phone in cradle
  • Click play
  • Drive, listen, enjoy.
  • Drive, listen, enjoy

I bought a strip of NFC stickers from eBay, had a little play around trying different intent URIs that I thought might work which are kind of okay... i.e. spotify:// opens the app, which is a good start... I tried some other combinations but didnt get straight to the now-playing activity which would be so sweet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment