getParcelable() returns null object
<p>I've used <code>putExtra()</code> to pass some data from one activity to other. I want to create a <code>Parcelable</code> instance but I am getting a null object.</p>

<p>Here is the code of first activity:</p>

<pre><code>i = new Intent(Activity1.this, Activity2.class);
i.putExtra(com.login_app.Activity1.extra, "100");
startActivity(i);   
</code></pre>

<p>Here is the code of second activity:</p>

<pre><code>Intent inew = getIntent();
Bundle icicle1 = inew.getExtras();
// this is just a debug code
System.out.println(
    icicle1.getSerializable(com.login_app.Activity1.extra).toString());
Parcelable p = inew.getParcelableExtra(com.login_app.Activity1.extra);
</code></pre>

<p>Here object p is a null object. </p>

<p>Please tell me if I am wrong or I need to add something else. I want this Parcelable object to be flattened into a Parcel object.</p>
