Hello In my android app i am reading a file but require anly the data on third line to be displayed.Is there any way to do that.
Please forward your suggestion:)
Thanks in advance.
Hello In my android app i am reading a file but require anly the data on third line to be displayed.Is there any way to do that.
Please forward your suggestion:)
Thanks in advance.
Not to be too specious, but.....
String str = InputStream.readline();
str = InputStream.readline();
str = InputStream.readline();
Now you have your string ;)
Just be happy that you don't need the thousandth string. (of course, enclosing this is a parameterized for loop would solve that problem)