> Yes I saw that and the use of Parcelable seems like overkill just to > pass an arbitrary data type in an Intent. Wonder if anyone knows why > the Android Framework does not support putExtra on an arbitrary data > type that can be cast into something like an Object?
Because Intents are converted into raw memory buffers (think byte arrays) for passing across process boundaries. You cannot do that safely with an ordinary Object. You must implement some sort of serialization to do that, and Android elected to create the Parcelable system for that role. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en