HeavensSentSword
Well-Known Member
Hello, I was wondering how to use a local file (i.e. something off you local disk drive C
for testing purposes. I am working on understanding the URLConnection thing in android and want to try to bring a txt file in for processing, but I don't know how to because C: is not a valid html code. I also do not want to place the text file into the actual program because that would defeat the purpose of calling it in via URL.
Do I have to make a File file new File thing and read the outside file into that to do this?
thank you very much
for testing purposes. I am working on understanding the URLConnection thing in android and want to try to bring a txt file in for processing, but I don't know how to because C: is not a valid html code. I also do not want to place the text file into the actual program because that would defeat the purpose of calling it in via URL. Do I have to make a File file new File thing and read the outside file into that to do this?
thank you very much