List adapter display text vs. saved text
<p>what I have now is a listView with 3 items in it: Audience, Choosing topics, and Interviewing strategies. I want to be able to save these items as strings to open url with associated item name in the path, but the problem comes when the path has a different item name than the one I have in the listview items; we have Audience, Choosing_topics, and Interviewing as their names. How would I go about dealing away with this conflict in name without changing the names of the url or the listViewItem? Should I refer to another string array to compare the value of the first string array to to retrieve the associated item in the new array? Here's what I have as of now:</p>

<p>setListAdapter(new ArrayAdapter(this, R.layout.list_item, GREATESTHITS));
        ListView lv = getListView();
        lv.setTextFilterEnabled(true);</p>

<pre><code>    lv.setOnItemClickListener(new OnItemClickListener() {
      public void onItemClick(AdapterView&lt;?&gt; parent, View view,
          int position, long id) {
          String text = (String) ((TextView)view).getText();
          ((GlobalVariables)getApplication()).setGlobalVariable(text);
     String str = DownloadText("http://www.jmu.edu/uwc/" + text + ".html"); 



static final String[] GREATESTHITS = new String[] {"Audience", "Choosing topics", "Interviewing Strategies"};
</code></pre>
