Monali
Monali

Reputation: 1966

How to check application is in background?

I want to know how to start 1 activity every time when application is in background or when we tap on launch icon.

Upvotes: 0

Views: 140

Answers (1)

Pratik Bhat
Pratik Bhat

Reputation: 7614

You will have to override onPause() or onStop() methods in your activity according to your needs Check this link: activity lifecycle

Upvotes: 1

Related Questions