Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What exactly does volley.VolleyError.NetworkError mean in android?

I am a bit confused about volley NetworkError, and about the difference between NetworkError and NoConnectionError. The doc says this about NetworkError -

Indicates that there was a network error when performing a Volley request.

What do they mean by "network error"? When is NoConnectionError raised and when is NetworkError raised?

like image 337
dizzy54 Avatar asked Aug 04 '15 06:08

dizzy54


1 Answers

No connection Error - you doesn't have a data connection and wi-fi Connection

Network Error - you may login with some wi-fi which is under firewall means you are connected but not able to transfer data. you are allowed to transfer only even after login manually with the firewall.

Before login to firewall the network error is displayed

like image 155
Xavier Selvaraj Avatar answered Nov 16 '22 03:11

Xavier Selvaraj