There are several methods available for dealing with dialogs within an
activity...  Have a look at onCreateDialog(), onPrepareDialog(),
showDialog(), and removeDialog():

http://developer.android.com/reference/android/app/Activity.html#onCreateDialog%28int%29

Thanks,
Justin

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------


On Sat, Jan 2, 2010 at 6:55 AM, Lenea <[email protected]> wrote:

> Hello, everyone.
> I've got an application in which a button triggers a custom dialog.
> In the custom dialog i have an EditText.
> I want to collect data from the EditText and set the text of a
> TextView to that data.
> The problem is, the TextView is located in my main Activity(the one
> which triggered the custom dialog)
> How do I do that?
>
>
> Cheers,
> Lenea
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> [email protected]<android-beginners%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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

Reply via email to