从服务器获得数据如下所示:
[{"pk": 2, "model": "innovate.speaker", "fields": {"picture":
"/static/i/speakers/01_alavilli_r5.png", "sessions": [40], "title":
"Developer Evangelist, PayPal", "name": "Praveen Alavilli", "details":
"Praveen Alavilli is the developer evangelist for the PayPal X Developer
Network, helping developers to monetize their ideas and applications
using the PayPal Payments Platform. Prior to PayPal, Praveen worked at
Amazon.com and AOL. "}},{...},{...}]
public ListretrieveAllSpeakers(Activity activity){//将资源标识符转为字符串
String url =activity.getResources().getString(R.string.feeds_speakers);//存储获得得Speaker,用于将数据返回
List speakerArrayList = new ArrayList();//指定服务器端URL
HttpGet httpGet = newHttpGet(url);
HttpClient httpCl