title: Android - Problem with the Serializable interface
body: <p>I have been using the <code>Serializable</code> interface to pass an object from one activity to another. I am using <code>putExtra</code> on the sender side and  <code>getSerializable</code> on the receiver side. Everything works fine but I have received (for the first time) the following error report:</p>
  
  <blockquote>
    <p>java.lang.RuntimeException: Parcelable encountered IOException reading
    a Serializable object</p>
  </blockquote>
  
  <p>I don't understand why this exception has been generated since I am using <code>getSerializable</code> and not <code>getParcelable</code>. </p>
  
  <p>I know that I should implement the <code>Parcelable</code> interface instead because it has been designed specifically for Android (and that's what I will end up doing) but I want to understand why I am getting this error.</p>
  
  <p>Thanks!</p>