/** add by yejc 20130527 end */ public JSONObject sendRequest(final String content, String url) { NetworkManager nM = new NetworkManager(this.mContext); JSONObject jsonResponse = null; try { String response = null; synchronized (nM) { response = nM.SendAndWaitResponse(content, url /*Constants.server_url*/); } jsonResponse = new JSONObject(response); } catch (Exception e) { e.printStackTrace(); } if (jsonResponse != null) BaseHelper.log(TAG, jsonResponse.toString()); return jsonResponse; }