# Handling onBackPress event during Meeting

**URL:** <https://devforum.zoom.us/t/handling-onbackpress-event-during-meeting/16972>\
**Category:** Android\
**Created:** [May 10, 2020, 11:23am UTC](https://devforum.zoom.us/t/handling-onbackpress-event-during-meeting/16972 "2020-05-10T11:23:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![harjinderbains01](https://avatars.discourse-cdn.com/v4/letter/h/858c86/32.png) [@harjinderbains01](https://devforum.zoom.us/u/harjinderbains01)\
**Post date:** [May 10, 2020, 11:23am UTC](https://devforum.zoom.us/t/handling-onbackpress-event-during-meeting/16972/1 "2020-05-10T11:23:31Z")

</div>

Hello Zoom

I am integrating zoom SDK in my android app. Actually, my app is for schools and students. It has its own activity for inviting students for joining the meeting and I want to send notification to the students after creating meeting from that inviting screen without leaving or ending meeting. But when I press back button in meeting screen, app gets quit. Please guide me for this implementation. In addition, also guide me, how can I add custom invitation mode in default invitation dialog.

Thank you

---

<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:** [May 13, 2020, 9:29am UTC](https://devforum.zoom.us/t/handling-onbackpress-event-during-meeting/16972/2 "2020-05-13T09:29:57Z")

</div>

Hi [harjinderbains01](https://devforum.zoom.us/u/harjinderbains01),

Thanks for using Zoom SDK. Please refer to the answer here to your question:

> [@Onbackpress to go out of application](https://devforum.zoom.us/t/onbackpress-to-go-out-of-application/9297/4):
>
> Hi [aadil9265711](https://devforum.zoom.us/u/aadil9265711), Thanks for the reply. I understand your request and the link includes the discussion of how to do what you are mentioning. I have just tested with our demo app(sample), using default UI, and I am able to override the back button action. Here are the steps: Create your own activity, for example, MyMeetingActivity In config.xml, add the following: \<string name="zm\_config\_conf\_activity"\>us.zoom.sdksample.MyMeetingActivity\</string\> Declare the Activity in your AndroidManifest.…

Hope this helps. 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, 9:17pm UTC](https://devforum.zoom.us/t/handling-onbackpress-event-during-meeting/16972/3 "2020-08-21T21:17:34Z")

</div>

Closed on August 21, 2020, 9:17pm UTC


