tags:

views:

68

answers:

1

Why is that the object has to be serialized or be Parcelable in order to be passed to an Intent ?

+3  A: 

Intents can be sent between processes, so cannot contain Object:s limited to the current JVM.

fornwall
Makes absolute sense, but is there a better way to pass objects to an activity when they are in the same VM ?
Ramp
There are alternatives which may be better - see "How do I pass data between Activities/Services within a single application?" at http://developer.android.com/guide/appendix/faq/framework.html#3
fornwall