Application uses Volley library to make HTTP requests to servers
secondly what does this below variable means?
String URL = "http://10.0.2.2:3979/api/idm/login";
Application uses Volley library to make HTTP requests to servers
secondly what does this below variable means?
String URL = "http://10.0.2.2:3979/api/idm/login";
Your server is not returning statusCode. If you pass your value as an Int into "valueOf" function it will cause nullpointerexception. To prevent this you need pass your variable as an Object.
For more information: Why does String.valueOf(null) throw a NullPointerException?