Android Question variable from killed activity module

Stern0m1

Member
Licensed User
Please excuse me if this doesn't make so much sense, I am a newbie.

I have an activity module and a service module. I am calling variables in the service module from the activity module.

How can I can call those variables if the OS kills the activity module? Do I have to write the data to a file?

Thanks
 

Stern0m1

Member
Licensed User
If the entire app gets killed and is restarted will those variables retain their values?
Thanks.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…