you can write Toast.makeText(WalkieTalkieActivity.this,"hello." ,
200).show();
this will display as message on screen.
Or if you want ti display on ui screen that use the textview and set text
to that textview.
On Fri, Feb 24, 2012 at 1:39 AM, Ma wrote:
> How do I get the output to show on
Hi,
First create a textview in main.xml if you want to see the msg displayed on
main.
and in your activity class, you can access that textview using this code
TextView t = (TextView)findViewById(R.id.textView1);//textView1 is the id
of textview that you have created in main.xml
t.setText("This
What "screen" are you talking about. If you're talking about the UI
that's typically hooked up to the app, then the answer is that you do
need to use these .setText() methods (etc...) that you see from
rhaazy's comment. Instead, if you're trying to output to the Log you
can use the Log.e/i/d/etc.
How do I get the output to show on the screen? I know that
Sytem,out.println goes to the log, I have tried toasts, and other
things, I am looking for some suggestions here. How do I implement a
Textview. Please be as specific as possible.
Thanks
if ("1".equals(PleaseEnter.getText().toString()))
4 matches
Mail list logo