Atur timeout voli android

// MY_SOCKET_TIMEOUT_MS is your custom timeout in milllisecond
myRequest.setRetryPolicy(new DefaultRetryPolicy(
        MY_SOCKET_TIMEOUT_MS, 
        DefaultRetryPolicy.DEFAULT_MAX_RETRIES, 
        DefaultRetryPolicy.DEFAULT_BACKOFF_MULT));
Mohamed Boumlyk