效果图:
layout界面布局:
package com.tudou.activity.work4;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import android.util.Log;
public class HttpUtil {
/**
* 获取到流,自己处理数据
* @param path
* @return
*/
public static InputStream getInputStream(String path) {
HttpURLConnection conn = null;
try {
URL url = new URL(path);
conn = (HttpURLConnection) url.openConnection();
conn.setDoInput(true);
// 设置是否向httpUrlConnection输出,post请求,参数要放在http正文内
conn.setDoOutput(true);
conn.setReadTimeout(3000);
conn.setConnectTimeout(3000);
conn.setUseCaches(false);
conn.setRequestMethod("POST");
if (conn.getResponseCode() == 200) {
Log.d("mylog", "getResponseCode:" + 200);
return conn.getInputStream();
}
} catch (IOException e) {
e.printStackTrace();
} finally {
if (conn != null) {
conn.disconnect();
}
}
return null;
}
/**
* 直接返回响应体正文
* @param path
* @return
*/
public static String getResponseBody(String path,String params) {
HttpURLConnection conn = null;
StringBuffer result=new StringBuffer();
try {
URL url = new URL(path);
conn = (HttpURLConnection) url.openConnection();
conn.setDoInput(true);
// 设置是否向httpUrlConnection输出,post请求,参数要放在http正文内
conn.setDoOutput(true);
conn.setReadTimeout(3000);
conn.setConnectTimeout(3000);
conn.setUseCaches(false);
conn.setRequestMethod("POST");
//数据输出流,该语句隐含的执行connect动作
if(params!=null){
DataOutputStream out = new DataOutputStream( conn.getOutputStream());
//将参数写入流,刷新提交关闭流
out.writeBytes(params);
out.flush();
out.close();
}
//读取连接返回的数据
BufferedReader reader = new BufferedReader(new InputStreamReader( conn.getInputStream()));
String inputLine = null;
while (((inputLine = reader.readLine()) != null)) {
result.append(inputLine);//"\n";
}
//关闭
reader.close();
if (conn.getResponseCode() == 200) {
Log.d("mylog", "getResponseCode:" + 200);
}
} catch (IOException e) {
e.printStackTrace();
} finally {
if (conn != null) {
conn.disconnect();
}
}
return result.toString();
}
}
主activity:
package com.tudou.activity.work4;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import com.tudou.activity.R;
import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;
import android.util.Log;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.LinearLayout.LayoutParams;
import android.widget.ProgressBar;
import android.widget.TextView;
public class HomeWork4 extends Activity {
String path = "此处省略,你要请求的地址";
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.homework4);
LinearLayout mainLayout = (LinearLayout)findViewById(R.id.mainLayout);
String result=HttpUtil.getResponseBody(path,null);
// Log.d("mylog", "result:" + result);
try{
JSONObject obj = new JSONObject(result);
JSONArray array=obj.getJSONArray("onlineCourses");
for (int i = 0; i < array.length(); i++) {
JSONObject course= array.getJSONObject(i);
// Log.d("mylog", "course:" + course.toString());
//添加左边的layout
LinearLayout leftlayout=new LinearLayout(this);
//注意包android.widget.LinearLayout.LayoutParams,其它包下面的LayoutParams不起作用
LayoutParams params=new LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
params.topMargin=10;
leftlayout.setLayoutParams(params);
leftlayout.setOrientation(LinearLayout.HORIZONTAL);
leftlayout.setGravity(Gravity.CENTER_VERTICAL);
//添加左边layout的图片
ImageView imageView=new ImageView(this);
params=new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
imageView.setLayoutParams(params);
imageView.setImageResource(R.drawable.image_default_195_130);
leftlayout.addView(imageView);
//添加右边的layout,分为上下2部分,上面是标题,下面是进度条
LinearLayout rightlayout=new LinearLayout(this);
LayoutParams rightLayoutParams=new LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
rightlayout.setLayoutParams(rightLayoutParams);
rightlayout.setOrientation(LinearLayout.VERTICAL);
//添加课程标题
TextView textView=new TextView(this);
params=new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
textView.setLayoutParams(params);
textView.setText(course.get("courseName").toString());
textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 15);//18SP
//学分,水平布局,分为左右,左:学分,,右:分值
LinearLayout studyLayout=new LinearLayout(this);
params=new LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
studyLayout.setLayoutParams(params);
studyLayout.setOrientation(LinearLayout.HORIZONTAL);
//添加学分
TextView studyView=new TextView(this);
params=new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
studyView.setLayoutParams(params);
studyView.setText("学分:");
studyView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 12);
studyView.setTextColor(Color.parseColor("#b6b6b6"));//第2种方法:setTextColor(Color.rgb(255, 255, 255));
//添加学分值
TextView studyValueView=new TextView(this);
params=new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
studyValueView.setLayoutParams(params);
studyValueView.setText(course.get("courseCredit").toString());
studyValueView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 14);
//进度条,水平布局,分为左中右,左:学习进度,中:进度条,右:%值
LinearLayout processLayout=new LinearLayout(this);
params=new LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
processLayout.setLayoutParams(params);
processLayout.setOrientation(LinearLayout.HORIZONTAL);
//添加学习进度
TextView processtextView=new TextView(this);
params=new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
processtextView.setLayoutParams(params);
processtextView.setText("学习进度:");
processtextView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 12);
processtextView.setTextColor(Color.parseColor("#b6b6b6"));
//添加进度条
ProgressBar bar=new ProgressBar(this,null,android.R.attr.progressBarStyleHorizontal);//指定进度条样式
params=new LayoutParams(150, ViewGroup.LayoutParams.WRAP_CONTENT);
bar.setLayoutParams(params);
bar.setMax(100);
bar.setProgress(10);
//添加%值
TextView processvaluetextView=new TextView(this);
params=new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
processvaluetextView.setLayoutParams(params);
processvaluetextView.setText("10%");
processvaluetextView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 12);
processvaluetextView.setTextColor(Color.parseColor("#b6b6b6"));
//添加标题
rightlayout.addView(textView);
//添加学分
studyLayout.addView(studyView);
studyLayout.addView(studyValueView);
rightlayout.addView(studyLayout);
//添加进度条
processLayout.addView(processtextView);
processLayout.addView(bar);
processLayout.addView(processvaluetextView);
rightlayout.addView(processLayout);
//添加左右边
leftlayout.addView(rightlayout);
mainLayout.addView(leftlayout);
}
}catch(JSONException e){
e.printStackTrace();
}
}
}
下面是需要解析的json数据:
{"onlineCourses":[{"coursewareCode":"ys_inside001","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"3","courseCredit":"2学分","opencourseId":"ff80808149cb94970149cca2a0c34224","certificateLearnPercent":"0","id":"0","coursePic":"","coursewareCount":"1","downloadURL_android":"http://inside.lms.webtrn.cn/wat/bzz/010.wat","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"0","courseCategoryName":"专业选修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"http://inside.lms.webtrn.cn/wat/bzz/010.wat","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"ys_inside001"},{"coursewareCode":"20140926","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"3","courseCredit":"--","opencourseId":"ff80808148a743a10148afe296750f63","certificateLearnPercent":"0","id":"1","coursePic":"","coursewareCount":"1","downloadURL_android":"","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"专业选修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"互换性与技术测量"},{"coursewareCode":"space001","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"3","courseCredit":"1学分","opencourseId":"ff80808146d7c71a0146dafeb0b1020c","certificateLearnPercent":"0","id":"2","coursePic":"http://tyxl.webtrn.cn/learnspace/incoming/tyxl/image/20140912/1410484561981-5.jpg","coursewareCount":"1","downloadURL_android":"","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"专业选修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"玉雕与玉器"},{"coursewareCode":"2014061301","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"1","courseCredit":"1学分","opencourseId":"ff808081468fdd80014692c619b4078c","certificateLearnPercent":"0","id":"3","coursePic":"","coursewareCount":"1","downloadURL_android":"http://inside.lms.webtrn.cn/wat/bjsy2014/dxyy01.wat","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"公共必修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"http://inside.lms.webtrn.cn/wat/bjsy2014/dxyy01.wat","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"公共机构能效管理与能源审计"},{"coursewareCode":"2014061302","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"1","courseCredit":"2学分","opencourseId":"ff808081468fdd80014692c771d2079b","certificateLearnPercent":"0","id":"4","coursePic":"http://tyxl.webtrn.cn/learnspace/incoming/tyxl/image/20140923/1411439230031-1.jpg","coursewareCount":"1","downloadURL_android":"http://www.webtrn.cn/wat/hzkj/P2009092703.wat","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"公共必修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"http://www.webtrn.cn/wat/hzkj/P2009092703.wat","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"公共组织的变革与发展"},{"coursewareCode":"2014042501","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"1","courseCredit":"2学分","opencourseId":"ff8080814593d3c201459662f3d60642","certificateLearnPercent":"0","id":"5","coursePic":"http://tyxl.webtrn.cn/learnspace/incoming/tyxl/image/20140923/1411440178504-6.jpg","coursewareCount":"1","downloadURL_android":"http://inside.lms.webtrn.cn/wat/inside/html5/inside_xm_01.wat","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"公共必修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"http://inside.lms.webtrn.cn/wat/inside/html5/inside_xm_01.wat","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"项目管理培训(第一讲)"},{"coursewareCode":"2014042502","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"1","courseCredit":"2学分","opencourseId":"ff8080814593d3c2014596647c37064a","certificateLearnPercent":"0","id":"6","coursePic":"http://tyxl.webtrn.cn/learnspace/incoming/tyxl/image/20140923/1411440386133-1.jpg","coursewareCount":"1","downloadURL_android":"http://inside.lms.webtrn.cn/wat/inside/html5/inside_xm_02.wat","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"公共必修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"http://inside.lms.webtrn.cn/wat/inside/html5/inside_xm_02.wat","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"项目管理培训(第二讲)--项目范围管理"},{"coursewareCode":"2014042503","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"1","courseCredit":"2学分","opencourseId":"ff8080814593d3c2014596656718064c","certificateLearnPercent":"0","id":"7","coursePic":"http://tyxl.webtrn.cn/learnspace/incoming/tyxl/image/20140923/1411440344663-5.jpg","coursewareCount":"1","downloadURL_android":"http://inside.lms.webtrn.cn/wat/inside/html5/inside_xm_03.wat","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"公共必修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"http://inside.lms.webtrn.cn/wat/inside/html5/inside_xm_03.wat","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"项目管理培训(第三讲)"},{"coursewareCode":"2014042504","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"1","courseCredit":"2学分","opencourseId":"ff8080814593d3c20145966636260650","certificateLearnPercent":"0","id":"8","coursePic":"http://tyxl.webtrn.cn/learnspace/incoming/tyxl/image/20140923/1411440250424-7.jpg","coursewareCount":"1","downloadURL_android":"http://inside.lms.webtrn.cn/wat/inside/html5/inside_xm_04.wat","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"公共必修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"http://inside.lms.webtrn.cn/wat/inside/html5/inside_xm_04.wat","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"项目管理培训(第四讲)"},{"coursewareCode":"2014042505","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"1","courseCredit":"2学分","opencourseId":"ff8080814593d3c20145966732cf0661","certificateLearnPercent":"0","id":"9","coursePic":"","coursewareCount":"1","downloadURL_android":"http://inside.lms.webtrn.cn/wat/inside/html5/inside_xm_05.wat","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"公共必修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"http://inside.lms.webtrn.cn/wat/inside/html5/inside_xm_05.wat","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"项目管理培训(第五讲)"},{"coursewareCode":"2014042506","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"1","courseCredit":"--","opencourseId":"ff8080814593d3c201459668e17e0677","certificateLearnPercent":"0","id":"10","coursePic":"http://tyxl.webtrn.cn/learnspace/incoming/tyxl/image/20140923/1411440009235-3.jpg","coursewareCount":"1","downloadURL_android":"http://inside.lms.webtrn.cn/wat/tyxl/tyxl0509.wat","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"公共必修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"http://inside.lms.webtrn.cn/wat/tyxl/tyxl0509.wat","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"MOOC"},{"coursewareCode":"2014033101","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"1","courseCredit":"3学分","opencourseId":"ff80808145034319014515c759eb3b7a","certificateLearnPercent":"0","id":"11","coursePic":"http://tyxl.webtrn.cn/learnspace/incoming/tyxl/image/20140923/1411440792296-0.jpg","coursewareCount":"1","downloadURL_android":"http://inside.lms.webtrn.cn/wat/hnnd/ipad/hnnd00002.wat","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"公共必修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"http://inside.lms.webtrn.cn/wat/hnnd/ipad/hnnd00002.wat","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"弘扬中华民族精神,建设广东文化强省(二)"},{"coursewareCode":"2014033102","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"1","courseCredit":"2学分","opencourseId":"ff80808145034319014515c8ece73b7d","certificateLearnPercent":"0","id":"12","coursePic":"","coursewareCount":"1","downloadURL_android":"http://inside.lms.webtrn.cn/wat/hnnd/ipad/hnnd00008.wat","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"公共必修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"http://inside.lms.webtrn.cn/wat/hnnd/ipad/hnnd00008.wat","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"文化强省的理想与现实"},{"coursewareCode":"2014033103","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"4","courseCredit":"1学分","opencourseId":"ff80808145034319014515cb96103ba8","certificateLearnPercent":"0","id":"13","coursePic":"","coursewareCount":"1","downloadURL_android":"http://inside.lms.webtrn.cn/wat/hnnd/ipad/hnnd00009.wat","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"公共选修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"http://inside.lms.webtrn.cn/wat/hnnd/ipad/hnnd00009.wat","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"提升中心城市文化引领功能【2012】"},{"coursewareCode":"2014033104","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"4","courseCredit":"1学分","opencourseId":"ff80808145034319014515cc887e3baa","certificateLearnPercent":"0","id":"14","coursePic":"","coursewareCount":"1","downloadURL_android":"http://inside.lms.webtrn.cn/wat/hnnd/ipad/hnnd00015.wat","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"公共选修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"http://inside.lms.webtrn.cn/wat/hnnd/ipad/hnnd00015.wat","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"新时期广东生态文明建设(一)"},{"coursewareCode":"2014033106","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"1","courseCredit":"5学分","opencourseId":"ff80808145034319014515d04a7b3bc8","certificateLearnPercent":"0","id":"15","coursePic":"","coursewareCount":"1","downloadURL_android":"http://inside.lms.webtrn.cn/wat/hnnd/ipad/hnnd10005.wat","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"公共必修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"http://inside.lms.webtrn.cn/wat/hnnd/ipad/hnnd10005.wat","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"乡村旅游基地与休闲农庄规划设计概论"},{"coursewareCode":"2014033107","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"1","courseCredit":"5学分","opencourseId":"ff80808145034319014515d0db843bd2","certificateLearnPercent":"0","id":"16","coursePic":"http://tyxl.webtrn.cn/learnspace/incoming/tyxl/image/20140811/1407739875453-3.jpg","coursewareCount":"1","downloadURL_android":"http://inside.lms.webtrn.cn/wat/jpkc2013/bjsf2013/bjsf2013_glx/glx_wats.wat","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"公共必修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"http://inside.lms.webtrn.cn/wat/jpkc2013/bjsf2013/bjsf2013_glx/glx_wats.wat","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"管理学"},{"coursewareCode":"21011","teacherInfo":"","endDatetime":"2999-12-31 23:59:59","maxTime":"","learnStatus":"1","productID":"","commentPoint":"0","courseCategoryID":"1","courseCredit":"3学分","opencourseId":"40288aad2d02c234012d02c47247000d","certificateLearnPercent":"0","id":"17","coursePic":"http://tyxl.webtrn.cn/learnspace/incoming/tyxl/image/20140905/1409889386085-6.jpg","coursewareCount":"1","downloadURL_android":"","trainingClassId":"","downloadTime":"","videoroom":"-1","courseTime":"","iBookUrl":"","courseType":"1","courseCategoryName":"公共必修课","courseTeacher":"","totalPeople":"","downloadURL_ipad":"","downloadURL_pc":"","courseFlag":"","commentCount":"0","courseDetail":"","productFeeType":"","trainingClassName":"","downloadedTime":"","isFree":"","isSelected":"true","coursewareTime":"","certificateExamScore":"","coursetypePlatform":"","chargeItemList":[],"commentAve":"0","addTime":"","courseName":"计算机基础"}]}