andredamen Active Member Licensed User Longtime User Dec 28, 2023 #1 You can play songsin your own app from Spotify with the intent: Code: Dim i As Intent i.Initialize(i.ACTION_VIEW, SpotifySong) i.SetComponent("com.spotify.mobile.android.ui") StartActivity(i) But how to STOP playing this Spotify song? Does anyone know?
You can play songsin your own app from Spotify with the intent: Code: Dim i As Intent i.Initialize(i.ACTION_VIEW, SpotifySong) i.SetComponent("com.spotify.mobile.android.ui") StartActivity(i) But how to STOP playing this Spotify song? Does anyone know?
DonManfred Expert Licensed User Longtime User Dec 29, 2023 #2 andredamen said: But how to STOP playing this Spotify song? Click to expand... Check Spotify-Docs if they provide an Api for that. Upvote 0
andredamen said: But how to STOP playing this Spotify song? Click to expand... Check Spotify-Docs if they provide an Api for that.
ac9ts Active Member Licensed User Longtime User Dec 29, 2023 #3 Maybe some info here https://developer.spotify.com/documentation/android Upvote 0
andredamen Active Member Licensed User Longtime User Dec 29, 2023 #4 ac9ts said: Maybe some info here https://developer.spotify.com/documentation/android Click to expand... Thank you. I will study this site carefully. I'll let you know when I figure it out. Upvote 0
ac9ts said: Maybe some info here https://developer.spotify.com/documentation/android Click to expand... Thank you. I will study this site carefully. I'll let you know when I figure it out.
andredamen Active Member Licensed User Longtime User Dec 31, 2023 #5 There is indeed a Spotify Android SDK in Beta form. Too complicated for me as an amateur programmer (hobbyist). I have no knowledge of Java or converting aar files to use them in B4A. I had pinned my hopes on expert users of B4A who had perhaps developed a library for the Spotify connection. If I read Spotify for Developers correctly, then what I'm asking (opening a Spotify song via your own app with Spotify playing in the background with your own app in the foreground) is indeed possible. Too difficult for me to achieve this via this tutorial. For now, my hopes are pinned on the more experienced users of B4A. Who knows, maybe they can help me in the near future and thus also serve other B4A developers well. Upvote 0
There is indeed a Spotify Android SDK in Beta form. Too complicated for me as an amateur programmer (hobbyist). I have no knowledge of Java or converting aar files to use them in B4A. I had pinned my hopes on expert users of B4A who had perhaps developed a library for the Spotify connection. If I read Spotify for Developers correctly, then what I'm asking (opening a Spotify song via your own app with Spotify playing in the background with your own app in the foreground) is indeed possible. Too difficult for me to achieve this via this tutorial. For now, my hopes are pinned on the more experienced users of B4A. Who knows, maybe they can help me in the near future and thus also serve other B4A developers well.