I am building a music player app and I want to do the following things:
I have searched the web and got to know about google web search API. But I could make little sense of it. Most of the examples are about implementing a search engine, however that's not what I want. I am not familiar with XML parsing or JSON. Can someone cite my tutorials or give a rough idea of how things work or how do I nake it work.
Please help.
答案 0 :(得分:1)
You can use the Google Volley library. It will do all those things for you
Volley Tutorial All the info is in the Tutorial to get you going and adjust to your project
except
Resize it (I dont want the full image if its too big)
Once volley NetworkImage has downloaded the image you grab the raw data from the Cache and using Bitmap you can scale it and Cache it again. You can also discard the old image from the cache if you dont want it but you need to read the Volleys Documentation from Google to understand all the features it has.