i am trying to display the contact name and number using listview however i can only display the name but number is not comming up
<pre><code>public class contacts extends ListActivity {    
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        try{
            setContentView(R.layout.con_main);
        }catch(Exception e){
            Toast.makeText(this,e.toString(),Toast.LENGTH_LONG).show();
        }

        try{
                Uri allContacts = Uri.parse("content://contacts/people");

                    Cursor c1 = managedQuery(allContacts,null,null,null,null);
            Cursor c = managedQuery(allContacts,null,null,null,null);
            String number = c.getString(c.getColumnIndex(
                    ContactsContract.CommonDataKinds.Phone.NUMBER));
            String[] columns = new String[] {
                ContactsContract.Contacts.DISPLAY_NAME,number

                 };
            int[] views = new int[] {R.id.contactName};
            SimpleCursorAdapter adapter =new SimpleCursorAdapter(this, R.layout.con_main, c1, columns, views);
            this.setListAdapter(adapter);



        }catch(Exception e){
            Toast.makeText(this,e.toString(),Toast.LENGTH_LONG).show();
        }

    }
}
</code></pre>
