Regarding Intents
<p>According to what i have learnt from passing data using Intents is that when you pass Object O from Activity A to Activity B via intents, activity B receives a COPY of object O. The way things work is that The object O gets serialized (converted to a sequence of bytes) and that sequence of bytes is then passed to Activity B. Then activity B recreates a copy of object O at the moment it was serialized.
I would like to know if it would be efficient if one extends the Intent class to create a custom Intent and have references to the objects that are required by the other activities and pass the data to the other activities. For example:</p>

<pre><code>public class CustomIntent extends Intent {
private Object o;

public CustomIntent() {
    super();
    // TODO Auto-generated constructor stub
}
public Object getObject () {
    return o;
}
public void setObject(Object object) {
    this.o = object;
} 
}
</code></pre>

<p>In the receiving activity i get the intent and cast the intent to the CustomIntent type and retrieve the object required by the activity. Would this improve the efficiency by reducing the need for Serialization? Kindly throw some light on this. Thanks in advance.</p>
