MainActivity context Android
Retrieve the Intent
in onCreate
, pull everything you need out of it and then you can store it in a number of places.
SharedPreferences
or a Database
or Static Variables
or a Singleton
When you finally need the Intent
data you can pull it from a place that is more permanent, instead of an Activity
which is not.