I implemented the following while loop after doing a write to a file :
raf_name.writeBytes(ss_name + "\r\n");
while((text1 = raf_name.readLine()) != null)
if (count_names >5)
However the code doesn't seems to be getting into the While loop at all. Any reasons why It might be doing so.