Bundle becomes null when passed to a sub activity
<p>I'm using the standard Android Intent/Bundle method to pass data to a sub activity.</p>

<p>The problem is that although the Intent looks good before the activity is kicked off, it shows up as null in the sub activity. I can't find anyone else who has had this problem, so I thought I'd ask for pointers about where to look/how to debug.</p>

<p>(Target is Android 2.1)</p>

<p>Parent activity snippet:</p>

<pre><code>@Override
    protected void onListItemClick(ListView l, View v, int position, long id) {
        super.onListItemClick(l, v, position, id);

        Intent i = new Intent(ctx, ArticleView.class);

        i.putExtra("url", articles.get(position).url.toString());
        // The following line correctly logs the URL
        Log.d(TAG,"Starting article viewer with url " + i.getStringExtra("url"));

        startActivityForResult(i,ACTIVITY_ARTICLE);
    }
</code></pre>

<p>Child activity snippet:</p>

<pre><code>@Override
protected void onCreate(Bundle icicle) {

    super.onCreate(icicle);
    setContentView(R.layout.article_view);

    if (icicle != null) {
        // Never called!
    } else {
        // Always called
        Log.d(TAG,"Icicle is null - no URL passed in");
    }

}
</code></pre>

<p>Ignoring the fact that icicle is null and attempting to retrieve state information from it (with getString) results in a hang and:</p>

<pre><code>03-14 22:23:03.529: WARN/ActivityManager(52): Activity HistoryRecord{44ddd238 com.t.s/.ArticlesList} being finished, but not in LRU list
</code></pre>

<p>Any hints greatly appreciated.</p>
