# Embed Zoom Video-Conferencing into Another Activity

**URL:** <https://devforum.zoom.us/t/embed-zoom-video-conferencing-into-another-activity/5887>\
**Category:** Android\
**Created:** [September 12, 2019, 9:31pm UTC](https://devforum.zoom.us/t/embed-zoom-video-conferencing-into-another-activity/5887 "2019-09-12T21:31:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![botao.lin](https://avatars.discourse-cdn.com/v4/letter/b/e274bd/32.png) [@botao.lin](https://devforum.zoom.us/u/botao.lin)\
**Post date:** [September 12, 2019, 9:31pm UTC](https://devforum.zoom.us/t/embed-zoom-video-conferencing-into-another-activity/5887/1 "2019-09-12T21:31:41Z")

</div>

We want to embed Zoom video-conferencing into our Android App. Based on the following document (URL below), it looks like we can’t simply put “Zoom Meeting UI” activity into our existing main activity.

> **[Embed Zoom Meeting UI - Techniques - Android - Native SDKs - Zoom Software...](https://marketplace.zoom.us/docs/sdk/native-sdks/android/techniques/embed-zoom-meeting-ui)**
>
> Embed Zoom Meeting UI into Another Activity
> 
> 
> 
> Contents
> 
> 
> 
> 1\\. Embed Zoom Meeting UI into Another Activity
> 
> In some situations, you might want to embed ...

Is there a way for us to use our existing main activity as the “root” activity and build Zoom video-conferencing features into our App? I understand that we probably can’t Zoom’s UI directly. We are looking for a way to integrate Zoom’s video conferencing and develop ourselves the necessary supporting UI.

---

<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 13, 2019, 5:35pm UTC](https://devforum.zoom.us/t/embed-zoom-video-conferencing-into-another-activity/5887/2 "2019-09-13T17:35:18Z")

</div>

Hi botao,

Thanks for using Zoom SDK. Yes you can. 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 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!

---

<div class="post-metadata">

**Author:** ![firebasestep](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/firebasestep/32/4750_2.png) [@firebasestep](https://devforum.zoom.us/u/firebasestep)\
**Post date:** [April 21, 2020, 12:24pm UTC](https://devforum.zoom.us/t/embed-zoom-video-conferencing-into-another-activity/5887/3 "2020-04-21T12:24:34Z")

</div>

> [@carson.zoom](#):
>
> to the implementation of example2 in our demo app:[https://github.com/zoom/zoom-sdk-](https://github.com/zoom/zoom-sdk-android/tree/master/mobilertc-android-studio/example2)

I extended MyMeetingActivity with MeetingActivity  
Set the config file.  
Integrated Join Meeting option from documentation.  
MeetingActivity not coming inside MyMeetingActivity.  
I can’t block screenshots. WTF?

---

<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:** [April 22, 2020, 7:31am UTC](https://devforum.zoom.us/t/embed-zoom-video-conferencing-into-another-activity/5887/4 "2020-04-22T07:31:03Z")

</div>

Hi,

If you would like to disable the screen capture/screenshots during the meeting, you may add the following code into the onCreate() of MyMeetingActivity([https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/example2/src/main/java/us/zoom/sdkexample2/MyMeetingActivity.java#L43](https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/example2/src/main/java/us/zoom/sdkexample2/MyMeetingActivity.java#L43)):

```auto
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE,
				WindowManager.LayoutParams.FLAG_SECURE);

```

Then the screen capture will be disabled during the meeting, here is a screenshot of example2:

 ![IMG_9138](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/3/34a6fa723c5502e46dc4cdc63235cc4a1a3ebdaa.jpeg)  
You may refer to the implementation in example2 and integrate this in your project.

---

<div class="post-metadata">

**Author:** ![iqbalbhabha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/iqbalbhabha/32/2591_2.png) [@iqbalbhabha](https://devforum.zoom.us/u/iqbalbhabha)\
**Post date:** [April 27, 2020, 8:47am UTC](https://devforum.zoom.us/t/embed-zoom-video-conferencing-into-another-activity/5887/5 "2020-04-27T08:47:42Z")

</div>

I have nothing to do with your sdk example.  
I have extended MyMeetingActivity to MeetingActivity  
Configured config.xml  
Use your documentation for joinMeetingWithParams when I clicks JoingMeeting It doesn’t calls MyMeetingActivity and loads default sdk screen.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 5, 2020, 10:44pm UTC](https://devforum.zoom.us/t/embed-zoom-video-conferencing-into-another-activity/5887/6 "2020-05-05T22:44:14Z")

</div>

Hey @iqbalbhabha ,

Are you still experiencing this issue?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![iqbalbhabha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/iqbalbhabha/32/2591_2.png) [@iqbalbhabha](https://devforum.zoom.us/u/iqbalbhabha)\
**Post date:** [May 6, 2020, 6:51am UTC](https://devforum.zoom.us/t/embed-zoom-video-conferencing-into-another-activity/5887/7 "2020-05-06T06:51:52Z")

</div>

No @tommy I have issue in customizing waiting and JoinBeforeHost now. I have customized it kindly check this and respond [How To Get Zoom token and User ID while integrating the sdk with android?](https://devforum.zoom.us/t/how-to-get-zoom-token-and-user-id-while-integrating-the-sdk-with-android/645/12).

---

<div class="post-metadata">

**Author:** ![mylearnapp](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@mylearnapp](https://devforum.zoom.us/u/mylearnapp)\
**Post date:** [September 7, 2021, 3:54pm UTC](https://devforum.zoom.us/t/embed-zoom-video-conferencing-into-another-activity/5887/8 "2021-09-07T15:54:00Z")

</div>

hi,

I have integrated Zoom SDK in the ionic app but it covers the full screen. Is there a possibility where zoom take the top half and bottom half, we can use for app content?

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [September 9, 2021, 9:29pm UTC](https://devforum.zoom.us/t/embed-zoom-video-conferencing-into-another-activity/5887/9 "2021-09-09T21:29:28Z")

</div>

Hey @mylearnapp,

Thanks for using the dev forum!

Unfortunately, Zoom does not actively maintain the ionic SDK anymore so developer support is limited there. However, if you use one of our Native Mobile SDK’s we would be happy to assist 🙂

Thanks!  
Michael
