Spotify Intent

NJDude

Expert
Licensed User
Longtime User
Try this:
B4X:
Dim i As Intent

i.Initialize(i.ACTION_VIEW, "spotify:track:1kNZnFFOI5jrbBh3lHyy8H")
i.SetComponent("com.spotify.mobile.android.ui")

StartActivity(i)

To check if the Spotify app is installed, read my answer to your other post HERE and modify the code accordingly.
 
Last edited:
Upvote 0
Top