Android Question variables vs app in background

Tomas Petrus

Active Member
Licensed User
Hi,

I have app with user login and I have problem with variable (userID) when app is in background. The variable is deleted and user is logged out after a while. How can I hold variable for infinite time - until app shut down?

Thanks
 
Top