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 <[email protected]> wrote:

> 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()))
>
>  {
>
>      System.out.println("This is 1");
>    }
> else if  (PleaseEnter.equals("2"))
>    System.out.println("This 2");
> else if  (PleaseEnter.equals("3"))
>    System.out.println("This 3");
>  else
>     System.out.println("That number is not recognized.");
>  }}
>  catch (Exception ex)
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to