Re: [android-developers] Re: Show output on screen.

2012-02-23 Thread Mark Murphy
On Thu, Feb 23, 2012 at 6:50 PM, Pavel Dudka wrote: > You can use JNI for that. Just implement native function which will > call printf(). That will not draw anything on an Android screen. > On Feb 23, 2:59 pm, Ma wrote: >> By screen I meant the UI screen. Android employs a widget-based UI fra

[android-developers] Re: Show output on screen.

2012-02-23 Thread Pavel Dudka
You can use JNI for that. Just implement native function which will call printf(). On Feb 23, 2:59 pm, Ma wrote: > By screen I meant the UI screen. > > On Feb 23, 5:32 pm, Kristopher Micinski > wrote: > > > > > What "screen" are you talking about.  If you're talking about the UI > > that's typi

[android-developers] Re: Show output on screen.

2012-02-23 Thread Ma
By screen I meant the UI screen. On Feb 23, 5:32 pm, Kristopher Micinski 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

[android-developers] Re: Show output on screen.

2012-02-23 Thread rhaazy
Not sure if this will help, as I'm sorta new to this myself. I will give you the example in code, but really you should use the layout xml files to define UI elements... Again, sorry if this isn't very helpful... TextView tv = new TextView(this); if ("1".equals(PleaseEnter.getText().toString()))