E enrico Active Member Licensed User Longtime User May 13, 2013 #1 Who is so kind to give me a hint about running Spotify with an Intent ? I've tryed with a WebView but I don't know why it always asks for installing Spotify even if I already have it. Thanks (This is an example of link: http://www.billboard.com/play/spotify/track:1kNZnFFOI5jrbBh3lHyy8H)
Who is so kind to give me a hint about running Spotify with an Intent ? I've tryed with a WebView but I don't know why it always asks for installing Spotify even if I already have it. Thanks (This is an example of link: http://www.billboard.com/play/spotify/track:1kNZnFFOI5jrbBh3lHyy8H)
Erel B4X founder Staff member Licensed User Longtime User May 13, 2013 #2 Is there any documentation available about this app? Do you just want to start it? Upvote 0
E enrico Active Member Licensed User Longtime User May 13, 2013 #3 https://developer.spotify.com/technologies/libspotify/#introduction I would like to check if it's installed (if it's needed) and then run it in a webview or with intent. Upvote 0
https://developer.spotify.com/technologies/libspotify/#introduction I would like to check if it's installed (if it's needed) and then run it in a webview or with intent.
Erel B4X founder Staff member Licensed User Longtime User May 13, 2013 #4 You can use PackageManager.GetApplicationIntent for that. Upvote 0
NJDude Expert Licensed User Longtime User May 13, 2013 #5 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: May 13, 2013 Upvote 0
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.
E enrico Active Member Licensed User Longtime User May 13, 2013 #6 Can I run a link like this in a webview (it seems not) ? https://embed.spotify.com/?uri=spotify:track:0bRh7pc1nfIv2edfcIUlKh Upvote 0
Can I run a link like this in a webview (it seems not) ? https://embed.spotify.com/?uri=spotify:track:0bRh7pc1nfIv2edfcIUlKh
NJDude Expert Licensed User Longtime User May 13, 2013 #7 Have you tried it?, you should try first and THEN ask. Upvote 0
E enrico Active Member Licensed User Longtime User May 13, 2013 #8 NJDude said: Have you tried it?, you should try first and THEN ask. Click to expand... Of course, I tried if I ask... Upvote 0
NJDude said: Have you tried it?, you should try first and THEN ask. Click to expand... Of course, I tried if I ask...