title: view cannot be resolved to a type
body: <p>what seems to be the problem with view here? how do i solve it?</p>
  
  <p>the error "View cannot be resolved to a type"</p>
  
  <pre><code>public void onItemClick(AdapterView&lt;?&gt; arg0, View arg1, int position, long arg3) {
      Object o = my_listview.getItemAtPosition(position);
      // write you handling code like...
      String st = "sdcard/";
      File f = new File(st+o.toString());
      // do whatever u want to do with 'f' File object
      Log.d("The position fo f:",o.toString());
      }
  </code></pre>
  
  <p>any ideas?</p>