private JSONObject processExpenseData(String groupId, String period) {
   if ("Current Month".equals(period)) period = "0";
   else if ("Last month".equals(period)) period = "1";
   else if ("Last Quarter".equals(period)) period = "2";
   else if ("Last Year".equals(period)) period = "3";
   List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(2);
   nameValuePairs.add(new BasicNameValuePair("param1", groupId));
   nameValuePairs.add(new BasicNameValuePair("param2", period));
   return JSONParser.getJSONFromUrl(WebServiceConstants.EXPENSE, nameValuePairs);
 }
 private JSONObject processPaymentsDoneData(String groupId) {
   List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(2);
   nameValuePairs.add(new BasicNameValuePair("param1", groupId));
   return JSONParser.getJSONFromUrl(WebServiceConstants.PAYMENTS_DONE, nameValuePairs);
 }