Keep in mind that java serialization is about the slowest way in the world
to get your object from one place to another. :}

On Tue, Jan 13, 2009 at 3:02 PM, Geoff Stromberg
<[email protected]>wrote:

> For any Java type that implements interface Serializable, you can use the
> Intent methods:
>
>     public Intent putExtra(String name, Serializable value)
>     public Serializable  getSerializableExtra(String name)
>
> There's also a bunch of more type-specific put/get methods on Intent.
>
>
> On Tue, Jan 13, 2009 at 2:19 PM, Dianne Hackborn <[email protected]>wrote:
>
>> You can include everything defined in the Intent API.
>>
>> On Tue, Jan 13, 2009 at 1:58 PM, inder <[email protected]> wrote:
>>
>>>
>>> Can an activity receive Java objects in an Intent? Or the Intents must
>>> deal with string or byte[] only?
>>>
>>> Thanks
>>> Inder
>>>
>>>
>>>
>>
>>
>> --
>> Dianne Hackborn
>> Android framework engineer
>> [email protected]
>>
>> Note: please don't send private questions to me, as I don't have time to
>> provide private support.  All such questions should be posted on public
>> forums, where I and others can see and answer them.
>>
>>
>>
>>
>>
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

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