Application level variables in android getting nulled
===

I have developed an Android Application. To keep the user logged in, I am storing their username and password in a class that extends `Application`. If the user exits the application without logging out, a backgound service will start which will use the user credentials (username and password) stored in the Application context. <br><br>This worked very well for me. But now I have installed facebook in my phone (Samsung galaxy Ace). It has a service that occupies 37mb of the ram. Now when I run the background service of my application. The application level variable get killed when I play a game or sometimes even when I lock the screen (the username and password become null).<br>
What is happening? What other way is there to logged in? I don't want to use sqlite database to store teh username/password. You can easily see the values of the table.