output the result in a TextView