I want to read a text file in android application but I don't know! Please help me to can read and write in a text file. And I want to use pointer in my code, but I don't know that how are syntax and steps for this. Please help me. Thank you.
Asked
Active
Viewed 94 times
0
-
http://stackoverflow.com/questions/14376807/how-to-read-write-string-from-a-file-in-android/14377185#14377185 – R9J Apr 02 '15 at 10:36
-
Hi.Thanks @R9J for text file.but pointer!!!,What i do? – Programmer Apr 02 '15 at 10:39
-
what do u want to do with pointers?? Java has no pointers!! – R9J Apr 02 '15 at 10:41
-
No way for use reference in java? – Programmer Apr 02 '15 at 10:43
-
There is a way to access object reference and no way to access memory reference.. what is it you are asking for? – R9J Apr 02 '15 at 10:52
-
Ok,thanks, but your answer about text file in above link : – Programmer Apr 02 '15 at 11:08
-
openFileOutput and openFileInput methods? – Programmer Apr 02 '15 at 11:08
-
how to access them? eclips not found these methods – Programmer Apr 02 '15 at 11:09
-
If your class does not extends `Activity`, then use `context.openFileInput()` and `context.openFileOutput()` – R9J Apr 02 '15 at 11:22
1 Answers
0
There is a way to access object reference and no way to access memory reference and if your class does not extends Activity, then use
context.openFileInput()
and
context.openFileOutput()

Programmer
- 23
- 1
- 6