Although I am not totally clear with the question or the problem you have been facing .
Let me guess you want the Http response from the request and post it to server with another API call ? if this is your problem , Simple solution is to override parseNetworkResponse in makeStringReq()
StringRequest strReq = new StringRequest(Method.GET,
Const.URL_STRING_REQ,
new Response.Listener<String>() {
@Override
public void onResponse(String response) {
Log.d(TAG, response.toString());
msgResponse.setText(response.toString());
hideProgressDialog();
}
},
new Response.ErrorListener() {
@Override
public void onErrorResponse(VolleyError error) {
VolleyLog.d(TAG, "Error: " + error.getMessage());
hideProgressDialog();
}
}) {
@Override
protected Response<String> parseNetworkResponse(NetworkResponse response) {
int mStatusCode = response.statusCode;
return super.parseNetworkResponse(response);
}
};
// Adding request to request queue
AppController.getInstance().addToRequestQueue(strReq, tag_string_req);
then you can post the mStatusCode to server .
if I am wrong what i guessed just let me know . **If there is a will , there is a way ** , you know :)