I assume the TextView is visible and part of the current Activity.
You would the retrieve the TextView first throught
TextView t = (TextView) findViewById(-->your TextView's reference in
R);
Then you can set the text with
t.setText("Your string");
On Oct 26, 7:50 am, Regish Ben <[email protected]> wrote:
> Hi I m new to android application
>
> I m Using a String Variable.
>
> public void onClick(View v) {
>
> String xxxxx = "Hello";
>
> }
>
> I want to Print the xxxxx value in Textview...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---