开发者

Spotify Intent in android?

开发者 https://www.devze.com 2023-02-16 08:28 出处:网络
I would like to play a certain spotify playlist, anyone knows if there is a开发者_Python百科ny Spotify intent filter available?

I would like to play a certain spotify playlist, anyone knows if there is a开发者_Python百科ny Spotify intent filter available?

thanks!


Just an ordinary intent should work.

String spotifyUri = "spotify:user:...";
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(spotifyUri));
startActivity(intent);
0

精彩评论

暂无评论...
验证码 换一张
取 消