use ArrayAdapter and listview display messages