To your Intent add the data using
putExtra()
method and in the second activity in which u want to display use
getIntent().get.Extra()
 to retrieve ur data n then display




On 1/7/09, PRATAP SOLAPUR <[email protected]> wrote:
>
> Use Bundles............
>
> On 1/7/09, Android <[email protected]> wrote:
>>
>>
>> Hi,
>>
>> I am trying to start a new Activity from my Activity. For this am
>> creating an intent as
>>
>> Intent sendIntent = new Intent(this,Newactivity.class);
>> startActivity(sendIntent);
>>
>> With the above i am able to launch my new Intent.
>> If I want to send some data from Current Activity to the Newactivity
>> (Where my Newactivity have a text box). The data i send from
>> CurrentActivity to Newactivity should be displayed in this text box.
>>
>> Can anyone help me out how to do this ?
>>
>> Thanks.
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
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