Download album art from internet in an android application

笑着哭i 提交于 2019-11-29 10:34:58

问题


I know the artist and trackname for a song, but I am unsure of what service or how to download album art for the track.

I believe iTunes and Amazon both offer services but I am unsure of how to integrate these services, any links or suggestions are appreciated.


回答1:


To use Amazon you'll need to sign up as a developer for their public web services.

Product Advertising API

This is mainly just to get the access key that you'll need for making your calls to their web service API.

You'll need to do a product search using the artist and album name, this will return an ASIN number. Once you have that number you can build the URL to the actual album art, ie:

http://images.amazon.com/images/P/*ASIN goes here*.01._SCLZZZZZZZ_.jpg


来源:https://stackoverflow.com/questions/2730948/download-album-art-from-internet-in-an-android-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!