I was wondering what would be the best way to handle an application timeout, such as PayPal. I want the user to select between 1, 5, or 15 minute timeout period, so when they open up the application they would have to log in again.

My onResume method:

```
@Override
    public void onResume() {

    } 

```

It has nothing in it. But it crashes.

As a note: my app has two activities. The first activity is a login screen. The second activity is the main screen. The onResume method is in the second activity.