    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.roster);
        ImageView myImage = (ImageView) findViewById(R.id.Roster_myimage);
        attachIcon(myImage);
        TextView textView = (TextView) findViewById(R.id.Roster_myjid);
        textView.setText(JID.jid);
        TextView textView2 = (TextView) findViewById(R.id.Roster_mystatus);
        textView2.setText(MyProfile.getInstance().getStatus());
        Spinner spinner = (Spinner) findViewById(R.id.roster_availability_spinner);
        spinner.setOnItemSelectedListener(new RosterAvailSpinnerHandler(this));
        Button button = (Button) findViewById(R.id.roster_availability_launch_spinner_button);
        button.setBackgroundColor(Color.GREEN);
        Log.d("XXXX", "oncreate roster : " + MyProfile.getInstance().getStatus());
        ListView rosterList = (ListView) findViewById(R.id.rosterlist);
        requestForRosters();
        sendInitialPresence();
        adapter = new RosterItemAdapter(context);
        rosterList.setAdapter(adapter);
        rosterList.setTextFilterEnabled(true);
    }

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.roster);
        ImageView myImage = (ImageView) findViewById(R.id.Roster_myimage);
        attachIcon(myImage);
        TextView textView = (TextView) findViewById(R.id.Roster_myjid);
        textView.setText(JID.jid);
        TextView textView2 = (TextView) findViewById(R.id.Roster_mystatus);
        textView2.setText(MyProfile.getInstance().getStatus());
        Spinner spinner = (Spinner) findViewById(R.id.roster_availability_spinner);
        spinner.setOnItemSelectedListener(new RosterAvailSpinnerHandler(this));
        Button button = (Button) findViewById(R.id.roster_availability_launch_spinner_button);
        button.setBackgroundColor(Color.GREEN);
        Log.d("XXXX", "oncreate roster : " + MyProfile.getInstance().getStatus());
        ListView rosterList = (ListView) findViewById(R.id.rosterlist);
        rosterList.setOnItemClickListener(new rosterListClickHandler(rosterList,this));
        requestForRosters();
        sendInitialPresence();
        adapter = new RosterItemAdapter(context);
        rosterList.setAdapter(adapter);
        rosterList.setTextFilterEnabled(true);
    }
