How to disable screen recorder and screen shoret in zoom sdk

We use below methods to start Zoom Meeting-

JoinMeetingHelper.getInstance().joinMeetingWithNumber(this, meetingNo, “”);

But, this navigates to SDK and starts the meetinf, which is in a different Activity, and hence unable to block screen screenshot/recording.

So, require your help, so that we can have control on UI, which is used for live meeting, and hence we can control the live meeting hosting Activit

Hi webtraceliveclasses

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

public class MyMeetingActivity extends MeetingActivity

and then set the following in your config.xml(

<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:

Hope this helps. Thanks!

Your solution is not working… :@

Hi firebasestep,

Thanks for the reply. What is the issue you are facing? Could you provide more information?


I see you posted the same question here: Embed Zoom Video-Conferencing into Another Activity, I will reply over there and provide further assistance. Thx.

I am calling MyMeetingActiity from fragment… I have created config file, as u mentioned above, extended mymeetingactivity still when i clicks join meeting default screen opens of zoom sdk.

Hi iqbalbhabha,

Thanks for providing the screenshots. I see you only have the “MyMeetingActivity” in your config.xml, normally it is expecting a complete class path like, otherwise the meeting activity could not be found. Please refer to the setting in our demo app:


1 Like

Glad to be helpful. Happy Zooming! :slight_smile:

i am a newbie here…i know nothing about programming.
even then i want the result of the above script.

please help me…i am hosting a tutorial and need help as fast as possible.


Hi @yashvudgirkar,

Thanks for using Zoom SDK. What is the script you are referring to? Are you facing any issues when using the SDK?


hi Zoom

I just wanted to block my fellow attendees not to take any screenshot of the meeting.
Please provide a complete procedure for it, if you can.


Hi @yashvudgirkar,

If you are using Zoom default UI, you may follow the instruction I provided above(How to disable screen recorder and screen shoret in zoom sdk) to make the MeetingActivity available to be controlled. Then you could use the native Android methods to disable the abilities of screenshot like:

getWindow().setFlags(LayoutParams.FLAG_SECURE, LayoutParams.FLAG_SECURE);

You could also refer to the following links:


i have follow all the steps to disable screen record.

  1. Create your own activity, for example, MyMeetingActivity
  2. In config.xml , add the following:
<string name="zm_config_conf_activity">us.zoom.sdksample.MyMeetingActivity</string>
  1. Declare the Activity in your AndroidManifest.xml
  2. In your MyMeetingActivity class, extends MeetingActivity
  3. Add this line in onCreate method
    getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE);

but when i join meeting from fragment using following code

it’s open default meeting activity and screen recoder also not disable.

Hi @dev.shivamjamaiwar,

Thanks for the reply. Could you provide a demo apk for us to further investigate?


Hey @carson.zoom,
Thanks for your reply. Currently i am facing another issue, When i join the meeting nothing will happen only notification show meeting in progress.

Hi @dev.shivamjamaiwar,

Thanks for the reply. Could you elaborate on the issue you are facing? Are you using Zoom default UI and extends the MeetingActivity as mentioned above? Could you provide the steps to reproduce this issue with our demo app?


@Carson_Chen thanks for your help :slight_smile:,

I have solved both issues.

Issue1: disable screen record not working.
actually i had done one mistake in below line, i am not entering <PACAKAGE_NAME> before path
<string name="zm_config_conf_activity">.view.activities.classroom.MyMeetingActivity</string>

i have added <PACKAGE_NAME> before path like below line
<string name="zm_config_conf_activity">PACKAGE_NAME.view.activities.classroom.MyMeetingActivity</string>
now it’s working.

Issue2: When i join the meeting nothing will happen only notification show.
if i add abiFilters in build.gradle(app) like below
debug {
ndk {
abiFilters ‘x86’, ‘armeabi’, ‘armeabi-v7a’, ‘arm64-v8a’
then this issue will occur, so i just remove any one of filter(either ‘armeabi-v7a’ or ‘arm64-v8a’) and it’s working.