How to pass object between activities in android
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2736389/how-to-pass-object-from-one-activity-to-another-in-android">How to pass object from one activity to another in Android</a>  </p>
</blockquote>



<p>While retrieving appSession I get a RunTimeException:</p>

<pre><code>appSession = (ApplicationSession)intent.getParcelableExtra("appSession");
</code></pre>

<p>I am creating a app in which at the launch of app I create an ApplicationSession class object. I want to pass this object to all activities upon launch. How do I achieve this?</p>

<pre><code>// app start
// contains data specific to app which I need to use across all activites.
ApplicationSession appSession = new ApplicationSession(); 
</code></pre>

<p>How to pass <code>appSession</code> to all activites?</p>
