You can use JNI for that. Just implement native function which will
call printf().


On Feb 23, 2:59 pm, Ma <[email protected]> wrote:
> By screen I meant the UI screen.
>
> On Feb 23, 5:32 pm, Kristopher Micinski <[email protected]>
> wrote:
>
>
>
> > 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... utilities that will let you track app
> > behavior.  So, which screen?
>
> > kris
>
> > On Thu, Feb 23, 2012 at 3:09 PM, 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