In android I am getting the String value from BufferedReader and it is null after reading from file.
intstring = br.readLine();
System.out.println(intstring);
if(intstring != null)
{
System.out.println("Inside if condition");
int istring = Integer.parseInt(intstring);
}
My output is
null
Inside if condition
NumberFormatException
Help me please