How to I send an String array to a listView from the code and have the emulato开发者_Python百科r display it?
That is a very general question... but the basic idea would be to create one of the usual Adapters, ArrayAdapter possibly in this case, initialize it with the String array and then call the ListView's setAdapter() method with that ArrayAdapter.
精彩评论