# Capture onBackPress while in meeting

**URL:** <https://devforum.zoom.us/t/capture-onbackpress-while-in-meeting/6444>\
**Category:** Android\
**Created:** [October 29, 2019, 3:25pm UTC](https://devforum.zoom.us/t/capture-onbackpress-while-in-meeting/6444 "2019-10-29T15:25:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlapasa](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mlapasa/32/1129_2.png) [@mlapasa](https://devforum.zoom.us/u/mlapasa)\
**Post date:** [October 29, 2019, 3:25pm UTC](https://devforum.zoom.us/t/capture-onbackpress-while-in-meeting/6444/1 "2019-10-29T15:25:31Z")

</div>

Is there a way to capture the onBackPress key event so that if a meeting is in progress, it will pop up the Zoom alert dialogue that appears when the Leave button is pressed in top right corner? The ideal UX I am looking for is the user should not be allowed to exit the video by constantly tapping on the back button.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 29, 2019, 6:47pm UTC](https://devforum.zoom.us/t/capture-onbackpress-while-in-meeting/6444/2 "2019-10-29T18:47:14Z")

</div>

Hi

Thanks for the post. To customize the onBackPress event, you may refer to the answer here:[java.lang.UnsatisfiedLinkError has been throwed When initialize ZoomSDK](https://devforum.zoom.us/t/java-lang-unsatisfiedlinkerror-has-been-throwed-when-initialize-zoomsdk/430/25)

Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:01pm UTC](https://devforum.zoom.us/t/capture-onbackpress-while-in-meeting/6444/3 "2020-08-21T19:01:54Z")

</div>

Closed on August 21, 2020, 7:01pm UTC


