// 我的签到方法 private void addSign() { String sid = info.getSid(); String pid = "1"; String signcontent = mshop_qiandao_edittext1.getText().toString().trim(); String signlevel = "" + mshop_qiandao_ratingbar.getNumStars(); String signimage = ""; String signtime = "" + (new SimpleDateFormat("yyyy/MM/dd HH:mm").format(new Date())); String json = "{\"sid\":\"" + sid + "\"," + "\"pid\":\"" + pid + "\"," + "\"signcontent\":\"" + signcontent + "\"," + "\"signlevel\":\"" + signlevel + "\"," + "\"signimage\":\"" + signimage + "\"," + "\"signtime\":\"" + signtime + "\"}"; ThreadPoolUtils.execute(new HttpPostThread(hand, Model.SIGNURL, "1", json)); }
private void initModel() { mShop_details_more_title.setText(info.getSname()); for (int i = 0; i < 20; i++) { arrText1[i] = mFaceValue[i]; } for (int i = 20; i < 40; i++) { arrText2[i - 20] = mFaceValue[i]; } for (int i = 40; i < 60; i++) { arrText3[i - 40] = mFaceValue[i]; } for (int i = 60; i < 76; i++) { arrText4[i - 60] = mFaceValue[i]; } }