I know this is very basic question, but I need to know, how I can display the contents of a variable on the screen.
Do I use a textview in my layout?
I have
int count=7; TextView tv = (TextView) findViewById(R.id.my_text_view); tv.setText("you have entered"+count+"as the integer");
As you can see,you can include other data types like integers also in the setText block