直接看代码吧.
//1.这里获取图片 runonUiThread(new Runnable() { @Override public void run() { SharedPreferences settings = getSharedPreferences("settings", 0); String userId = settings.getString("userid",""); String imgType = "0"; //0正面 //1侧面 String result = YdHttpPostUtils.getImgPhotos(userId,imgType); try { if(StringUtils.isNotEmpty(result) && "200".equals(new JSonObject(result).getString("code"))){ JSonObject jsonObject = new JSonObject(result).getJSonObject("data"); String imgurl = jsonObject.getString("imgurl"); String
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)