I want to create a service in android that takes screenshot when user opens whatsapp. Therefore I need to detect that user has opened whatsapp. Is it possible? How?