Parceling/Transporting an EventObject in Android
<p>I have a <code>CustomEvent</code> class which extends <code>java.util.EventObject</code> .</p>

<pre><code>public class CustomEvent extends EventObject {
public CustomEvent(Object _src) {
 super(_src);
}
private String name;
public String getName()
 {
  return name;
 }
public void setName(String name)
 {
  this.name = name;
 }
}
</code></pre>

<p>I want to transport this Object in this way in  my Android app: - <code>Service</code> > <code>Notification</code> > <code>Activity</code></p>

<p>I read that the ideal way to transport objects is to make use of a <code>Parcelable</code> and pass this object via an <code>Intent</code> but I'm not sure if I can make this class to implement <code>Parcelable</code>. If I can, then how should my <code>writeToParcel(..)</code> and <code>readFromParcel(..)</code> methods be implemented?</p>

<p>Since <code>java.util.EventObject</code> implements this <code>Serializable</code> interface, can't I directly pass this <code>Object</code> via the Intent even if it's not <code>Parcelable</code>?</p>
