If your object crosses different packages, look at this post: http://stackoverflow.com/questions/5743485/android-resultreceiver-across-packages
On Friday, January 18, 2013 10:04:11 AM UTC-5, Streets Of Boston wrote: > > If the intent crosses process boundaries and you wrote your own > Parcelable, be sure to set the ClassLoader on the Bundle (which represents > all the Extras in an Intent) before you read the content of the Intent. > > getIntent().getExtras().setClassLoader(getClass().getClassLoader()); > > On Friday, January 18, 2013 9:48:00 AM UTC-5, a wrote: >> >> Hi, >> >> is it possible to pass an object as intent extra in Android? I tried with >> my class implementing Parcelable and getting a ClassCastException. Can >> anyone help with an example link? >> >> Thanks >> > -- 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

