Ron McLeod wrote:Adding the ACCESS_NETWORK_STATE permission should have fixed that issue.
Maybe try making a clean build.
Ulf Dittmer wrote:You're initializing the "urls" array to be of zero length - so when you try to access the element at the first position ("urls") you get the exception. Try "String urls = new String;" instead.
Paul Clapham wrote:Your first step is to decide which of the four methods you want to use.
And I don't understand what you mean by "I couldn't find any of the apps". What "apps" are you looking for and why?
Greg Charles wrote:Hi Adam,
I'm not sure what you mean that you "tried that" in relation to Paul's suggestion.
I guarantee that the output from that (i.e., your Java app's working directory) is going to be different from the directory where your file is.
Paul Clapham wrote:
Adam Preston wrote:My system has never cooperated with me to read files from other programs.
You don't seem to understand computing very well. There's no "cooperation" taking place there; the computer does what it does, and it's your job to work with that. Blaming the computer will get you nowhere; you can't shame the operating system into doing anything different. It's up to you to make things work.