SyntaxFix
Write A Post
Hire A Developer
Questions
Other possible solution:
tv.setText(Integer.toString(a1)); // where a1 - int value