/** 联网查询 */ private void netting(final String orderBy, final String orderDi) { String str = "00"; str = QueryJoinInfoInterface.queryLotJoinInfo( lotno, issue, orderBy, orderDir, "" + viewInfos[topIndex][lottypeIndex].newPage, JoinHallActivity.PAGENUM); handlerTwo.post( new Runnable() { @Override public void run() { progressbar.setVisibility(view.INVISIBLE); view.setEnabled(true); } }); try { json = new JSONObject(str); String msg = json.getString("message"); String error = json.getString("error_code"); if (error.equals("0047") || error.equals("0407")) { handler.post( new Runnable() { @Override public void run() { // TODO Auto-generated method stub initList(); } }); } handler.handleMsg(error, msg); } catch (JSONException e) { e.printStackTrace(); } if (viewInfos[topIndex][lottypeIndex].newPage == 0) { progressdialog.dismiss(); } }