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 creating the adaptor, I pass two parametres, one is data, the other is "Context". But the "Context" is the activity's, not the dialog's. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---