How can I read a text file like in android app:
"1.something written
2.in this file
3.is to be read by
4.the InputStream
..."
so I can be returned a string like:
"something written\nin this file\nis to be read by\nthe InputStream"
what I thought of is(Pseudocode):
make an inputstream
is = getAssest().open("textfile.txt"); //in try and catch
for loop{
string = is.read() and if it equals "." (i.e. from 1., 2., 3. etc) add "/n" ...
}