# Android show mini-meeting when minimise app

**URL:** <https://devforum.zoom.us/t/android-show-mini-meeting-when-minimise-app/83924>\
**Category:** Android\
**Created:** [March 1, 2023, 8:26am UTC](https://devforum.zoom.us/t/android-show-mini-meeting-when-minimise-app/83924 "2023-03-01T08:26:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sleushunou](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sleushunou/32/17849_2.png) [@sleushunou](https://devforum.zoom.us/u/sleushunou)\
**Post date:** [March 1, 2023, 8:26am UTC](https://devforum.zoom.us/t/android-show-mini-meeting-when-minimise-app/83924/1 "2023-03-01T08:26:00Z")

</div>

**Description**  
I need to show mini-meeting window when used minimise app. I add _ShowMiniMeetingWindow()_ call on OnPause() method of Application, but OnPause() also calls when I tap on “Share Screen” button: system popup shown, OnPause() calls, and meeting minimized, although I don’t want it. How can I fix it?

**Which Android Meeting SDK version?**  
5.13.5

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Add ShowMiniMeetingWindow() to OnPause()
2. Try to start screen sharing

Actual Behaviour: System popup shown → OnPause call → Meeting minimized

---

<div class="post-metadata">

**Author:** ![elaine.ku](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elaine.ku/32/40026_2.png) [@elaine.ku](https://devforum.zoom.us/u/elaine.ku)\
**Post date:** [March 3, 2023, 7:35pm UTC](https://devforum.zoom.us/t/android-show-mini-meeting-when-minimise-app/83924/3 "2023-03-03T19:35:57Z")

</div>

Hi @sleushunou ,

Thanks for posting on our developer forum, The function `showMiniMeetingWindow()` is not suitable to be added in `onPause`. If you you like to minimize the App when the app is in the background, implementing PIP mode will be more suitable for this situation. Or adding `showMiniMeetingWindow()` in `onBackPressed` may be similar to your use case too.  
Thank you

Elaine

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 3, 2023, 5:36am UTC](https://devforum.zoom.us/t/android-show-mini-meeting-when-minimise-app/83924/4 "2023-04-03T05:36:04Z")

</div>

Closed on April 3, 2023, 5:36am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
