示例#1
0
    @Override
    protected ArrayList<Master_table> doInBackground(Void... params) {
      try {
        JSONObject jsonObject = api.select_Conditional(2);
        Log.i("JSON Reply", jsonObject.toString());
        JSONParser jsonParser = new JSONParser();
        Master_Table = jsonParser.parseArray_7_Para(jsonObject);

      } catch (Exception e) {
        e.printStackTrace();
      }

      return Master_Table;
    }
示例#2
0
    @Override
    protected String doInBackground(String... params) {

      try {
        JSONObject jsonObject = api.EventAttand(params[0], params[1]);
        JSONParser jsonParser = new JSONParser();
        response = jsonParser.parseStringResponse(jsonObject);

      } catch (Exception e) {
        e.printStackTrace();
      }

      return response;
    }