[android-developers] Re: How to create listview in a dialog

2008-12-29 Thread zcj0429
Thank you for your reply, for android. But after I change the code, erroes occur. And the information tells these two codes go wrong: ListView dlv = (ListView)findViewById(R.id.conn_list); dlv.setAdapter(bConnAdapter); And now I'm thinking whether my list adaptor is right. Because when I

[android-developers] Re: How to create listview in a dialog

2008-12-28 Thread for android
YOu need to set the list in the dialogue box... You have extended the list activity for the bcjgrnd screen..hence the error.. and after the set the content view..get the list view and set the adapter..in your changeConnPref method. something list this ur_listView= (ListView)