Reputation:
I want to set some Extras for the next startup of an activity. However, I want the user to start the activity, i don't want to start it programatically with startActivity();
It should also work if the target activity is currently killed.
Could you tell me how to do so?
Thanks
Upvotes: 0
Views: 57
Reputation: 8395
You might use SharedPreferences and store variables to non-volatile memory. Then read them in the onCreate() of your activity.
Upvotes: 1