Loading string values from a String or file instead of a "list" in the class file
<p>I think I have a pretty easy problem to solve, but I have been beating my head against the wall for hours trying to get past it!  </p>

<p>I have an adapter that loads a list of URLS:</p>

<pre><code>adapter=new MyAdapter(this, lStrings);
list.setAdapter(adapter);
</code></pre>

<p>The list of URLS looks like this:</p>

<pre><code>private String[] lStrings={
"http://www.domain.com/file1.jpg",
"http://www.domain.com/file2.jpg",
"http://www.domain.com/file3.jpg",
};
</code></pre>

<p>What I want instead is to load these values from a text file that lies on the SD card.  For that matter, I would be okay with loading the values from a text file into a String, and then load the String into the list as I imagine that would be the "cleaner approach".  However, all attempts to do this have failed.</p>

<p>For instance, I replaced the above snippet with this:</p>

<pre><code>private String[] lStrings=
{       
        MainActivity.this.getString(R.string.myurllist)
};
</code></pre>

<p>... but then I get a Forced Close on loading.</p>

<p>I'm a bit new to Java, Android, and development in general.  So if this is something really stupid, please excuse my ignorance.  </p>

<p>Thanks in advance for any advice you can offer me.</p>
