title: onClick in imageView in ListView
body: <p>I need to define an <code>onClick()</code> event in an arrow image inside a <code>ListView</code>. This arrow moves to another screen (another activity).</p>
  
  <p>I have read information about <code>setOnItemClickListener()</code>, but I can not use this, because I need the <code>onClick()</code> event in the arrow <code>ImageView</code>, not in the item in general.</p>
  
  <p>I also have read to define an <code>OnClickListener</code> in the <code>ImageView</code> in my custom <code>BaseAdapter</code>, but the problem is that I use functions of the <code>Activity</code>, that I can not use in the <code>BaseAdapter</code> (because don't exist, obviously)</p>
  
  <pre><code>right.setOnClickListener(new OnClickListener() {
  
          @Override
          public void onClick(View arg0) {
  
              Intent i = new Intent(ByLocationList.this, Summary.class);
              startActivity(i);               
  
          }
      });
  </code></pre>
  
  <p>I got errors because there is no <code>startActivity()</code> in <code>BaseAdapter</code> class. How can I launch the Summary Activity?</p>