private void parseJson(JSONObject response) { BingLog.i(TAG, "×¢²á·µ»Ø:" + response); if (JsonUtils.isSuccess(response)) { JSONObject object; try { object = response.getJSONObject("user"); PersonalInfo info = JsonUtils.getInfo(object); if (null != info) { WyyApplication.setInfo(info); SavePersonInfoUtlis.setPersonInfo(info, context); startMainActivity(); } else { Toast.makeText(context, R.string.regeit_failure, Toast.LENGTH_SHORT).show(); } } catch (JSONException e) { // TODO Auto-generated catch block e.printStackTrace(); Toast.makeText(context, R.string.regeit_failure, Toast.LENGTH_SHORT).show(); } } else { Toast.makeText(context, R.string.regeit_failure, Toast.LENGTH_SHORT).show(); } }