Intents to launch song, search for user in spotify app?

前端 未结 1 1697
死守一世寂寞
死守一世寂寞 2021-01-01 02:58

I\'m trying to figure how apps like Shazam, for example, are able to launch spotify to play a specific song. Another question on SO suggested an intent like String spo

相关标签:
1条回答
  • 2021-01-01 03:34

    Ok, well apparently you need to use a stick a SearchManager.Query as an extra. This post sort of points to that.

    So, it's intent.putExtra(SearchManager.QUERY, "michael jackson smooth criminal");

    0 讨论(0)
提交回复
热议问题