add a button in a listView
<p>I want to add a button in every list item and when the user press it to make a phone call. But when the user press the text, nothing happens..is that possible? This is my code:</p>

<pre><code>public class museum extends Activity {

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.museum); 


        ListView list = (ListView) findViewById(R.id.list);

        ArrayList&lt;HashMap&lt;String, String&gt;&gt; mylist = new ArrayList&lt;HashMap&lt;String, String&gt;&gt;();


        HashMap&lt;String, String&gt; map = new HashMap&lt;String, String&gt;();
        map.put("name", "Archaeological Museum of Chania");
        map.put("address", "Chalidon 21 , Chania");

        mylist.add(map);
        map = new HashMap&lt;String, String&gt;();
        map.put("name", "Byzantine Museum");
        map.put("address", "Theotokopoulou 82 , Chania");

        mylist.add(map);
        // ...
        ListAdapter mSchedule = new SimpleAdapter(this, mylist, R.layout.row_museum,
                    new String[] {"name", "address"}, new int[] {R.id.TextView01, R.id.TextView02});
        list.setAdapter(mSchedule);



        list.setOnItemClickListener(new OnItemClickListener() {
         public void onItemClick(AdapterView&lt;?&gt; parent, View view,
                  int position, long id) {
                switch( position )
                {
                   case 0: 
                            break;
                   case 1:  
                        break;
                   case 2:  
                        break;
                   case 3:  
                        break;


                }
            }
          });
    }
}
</code></pre>
