I am trying to pass a user defined object to another activity
Bundle bundle = new Bundle();
bund.putSerializable("myData", myData);
intent.putExtra("bundle", bundle);
where myData class implements Serializable interface.
I am getting following error:
java.lang.RuntimeException: Parcelable encountered IOException writing
serializable object
Could anyone please let me know how to pass complex objects between
activities?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---