---
title: "What happens to the activity lifecycle whenever a user is browsing your application and suddenly a call   comes?"  
description: "What happens to the activity lifecycle whenever a user is browsing your application and suddenly a call   comes?"  
author: "Yakshit Agarwal"  
published: 2018-01-22  
canonical: https://answers.mindstick.com/qa/33376/what-happens-to-the-activity-lifecycle-whenever-a-user-is-browsing-your-application-and-suddenly-a-call-comes  
category: "technology"  
tags: ["android"]  
reading_time: 1 minute  

---

# What happens to the activity lifecycle whenever a user is browsing your application and suddenly a call   comes?

What happens to the [activity](https://yourviews.mindstick.com/view/80911/newspaper-reading-turning-into-a-withering-activity) [lifecycle](https://yourviews.mindstick.com/view/10392/how-is-the-vendor-lifecycle-impacting-the-energy-sector-in-north-america) whenever a [user](https://www.mindstick.com/articles/13001/multi-statement-table-valued-user-defined-function-in-sql-server) is browsing [your application](https://www.mindstick.com/interview/2593/how-you-can-use-built-in-messaging-within-your-application) and suddenly a call comes?

## Answers

### Answer by Prateek sharma

This is the condition when the user is navigating to the other activity since a call arrives. In this case, **onStop()** method will be called. once the user stops the call and returns back to the [application](https://www.mindstick.com/articles/12824/calculator-application-in-android) **onResume()** will be called.


---

Original Source: https://answers.mindstick.com/qa/33376/what-happens-to-the-activity-lifecycle-whenever-a-user-is-browsing-your-application-and-suddenly-a-call-comes

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
