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 <hack...@android.com>wrote: > You can include everything defined in the Intent API. > > On Tue, Jan 13, 2009 at 1:58 PM, inder <inder...@gmail.com> 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 > hack...@android.com > > 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 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 -~----------~----~----~----~------~----~------~--~---