Possible Duplicate:
How to pass object from one activity to another in Android
While retrieving appSession I get a RunTimeException:
appSession = (ApplicationSession)intent.getParcelableExtra("appSession");
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?
// app start
// contains data specific to app which I need to use across all activites.
ApplicationSession appSession = new ApplicationSession();
How to pass appSession
to all activites?