# How to disable screen recorder and screen shoret in zoom sdk

**URL:** <https://devforum.zoom.us/t/how-to-disable-screen-recorder-and-screen-shoret-in-zoom-sdk/5851>\
**Category:** Android\
**Created:** [September 11, 2019, 1:49pm UTC](https://devforum.zoom.us/t/how-to-disable-screen-recorder-and-screen-shoret-in-zoom-sdk/5851 "2019-09-11T13:49:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [September 11, 2019, 7:01pm UTC](https://devforum.zoom.us/t/how-to-disable-screen-recorder-and-screen-shoret-in-zoom-sdk/5851/2 "2019-09-11T19:01:37Z")

</div>

Hi [webtraceliveclasses](https://devforum.zoom.us/u/webtraceliveclasses)，

Thanks for using Zoom SDK. You can define your own MeetingActivity, for example, MyMeetingActivity and inherit the SDK’s MeetingActivity like this:

```auto
public class MyMeetingActivity extends MeetingActivity

```

and then set the following in your `config.xml`([https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/example2/src/main/res/values/config.xml#L4](https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/example2/src/main/res/values/config.xml#L4)):

```auto
<string name="zm_config_conf_activity">MyMeetingActivity</string>

```

Then you can implement your own business logic or constraints (like blocking the screen short or screent recording) in `MyMeetingActivity`. You may refer to the implementation of example2 in our demo app:[https://github.com/zoom/zoom-sdk-android/tree/master/mobilertc-android-studio/example2](https://github.com/zoom/zoom-sdk-android/tree/master/mobilertc-android-studio/example2)

Hope this helps. Thanks!

---

_[View the full topic](https://devforum.zoom.us/t/how-to-disable-screen-recorder-and-screen-shoret-in-zoom-sdk/5851)._
