Hi,
I am trying to read non-local txt file, but I am getting error:
java.lang.IllegalArgumentException: File /data/testing.txt
contains a path separator
Any one has any idea?
My code is like that:
FileInputStream orifile = openFileInput("/data//samplefile.txt");
BufferedReader bufReader = new BufferedReader(new
FileReader(orifile.getFD()));
I am able to read local file (created on my package).
Arvind
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---