passing complex objects with an intent

Put your problem here if it does not fit any of the other categories.

passing complex objects with an intent

Postby paradroid666 » Tue Jun 01, 2010 9:19 am

Hi,

I have an intent and I know how to pass a string, int, etc. with it via a bundle. Is it possible to pass an object of my class MyClass? Or can I only pass build in types?

Thanks,
P.
paradroid666
Junior Developer
Junior Developer
 
Posts: 20
Joined: Fri May 21, 2010 2:36 pm

Top

Re: passing complex objects with an intent

Postby pskink » Tue Jun 01, 2010 9:23 am

also Parcelable and Serializable
pskink
pskink
Master Developer
Master Developer
 
Posts: 719
Joined: Mon Nov 24, 2008 3:49 pm

Re: passing complex objects with an intent

Postby paradroid666 » Tue Jun 01, 2010 10:09 am

okay - and does that help in regards to my problem?

Thanks.
P.
paradroid666
Junior Developer
Junior Developer
 
Posts: 20
Joined: Fri May 21, 2010 2:36 pm

Re: passing complex objects with an intent

Postby pskink » Tue Jun 01, 2010 10:16 am

what do you mean?
pskink
pskink
Master Developer
Master Developer
 
Posts: 719
Joined: Mon Nov 24, 2008 3:49 pm

Re: passing complex objects with an intent

Postby anarche » Tue Jun 01, 2010 12:13 pm

Serialise the object then pass that to the Intent
anarche
Master Developer
Master Developer
 
Posts: 369
Joined: Sun Apr 11, 2010 5:21 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 20 guests