本文介绍了有没有LIB存在针对Android的Java libspotify 12?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要libspotify结合起来,作为声音/播放服务,并在一个以上的Java应用集成Spotify的。

I want to integrate libspotify as sound/player service and integrate spotify in more then one java applications.

任何人都可以给我建议任何l​​ib或任何code例子让我开始?

Can anyone suggest me any lib or any code example to get me started?

推荐答案

免责声明:我对Spotify的工作

目前,Spotify的不具有libspotify一个不错的Java包装,但是这绝对是我们正在考虑在未来做的事情。我不能提供有关何时会提供的估计,所以如果你渴望开始编写它与Spotify的应用程序集成,你应该使用本地编译libspotify为Android,而不是等待一个Java包装。

At the moment, Spotify doesn't have a nice Java wrapper for libspotify, but this is definitely something we are thinking about doing in the future. I can't offer an estimate on when this will be available, so if you are dying to get started writing apps which integrate with Spotify, you should use the natively-compiled libspotify for Android rather than waiting for a Java wrapper.

做的Andr​​oid工作与libspotify的当前preferred的方法是使用能在。你必须写它周围自己的JNI包装,它可以是一个有点棘手,但绝对不是一个不可能完成的任务。 :)不幸的是Android的使用下的libspotify文档有点欠缺。再次,这是什么,Spotify的正在努力改进。

The current preferred way of doing Android work with libspotify is to use the natively-compiled library which can be found on the libspotify website. You'll have to write your own JNI wrappers around it, which can be a bit tricky, but is definitely not an impossible task. :) Unfortunately the documentation for using libspotify under Android is a bit lacking. Again, this is something that Spotify is working to improve.

有一个所谓的第三方项目它提供围绕libspotify一个Java包装。我个人以前没有使用过它,所以我不能对这个项目有多好评论,但如果我没有记错它是基于一个旧版本的libspotify,所以你可能会更好的去JNI路线上面详述。

There is a third-party project called jlibspotify which offers a Java wrapper around libspotify. I personally have not used it before, so I can't comment on how good the project is, but if I recall correctly it is based on an older version of libspotify, so you might be better off going the JNI route detailed above.

这篇关于有没有LIB存在针对Android的Java libspotify 12?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-14 17:47