// to retrieve object in second Activity
getIntent().getSerializableExtra("key");



On Sun, Jul 1, 2012 at 6:34 PM, mohammed Nuhail <nuhail...@gmail.com> wrote:

> i have tried this its not workin.  i think that is use to pass the string
> between activity.
> On Fri, Jun 29, 2012 at 2:23 PM, dEEPESH PPM <deepesh...@gmail.com> wrote:
>
>> Use this,
>>
>> Intent i = new Intent(CurrentActivity.this, NextActivity.class);
>> i.putExtra("key", object);
>> intent.startActivity(i);
>>
>> On Tue, Jun 26, 2012 at 12:54 PM, mohammed Nuhail <nuhail...@gmail.com>wrote:
>>
>>> How to pass the object from one activity to another ?
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> 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 android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to