# Control rotating in zoom sdk

**URL:** <https://devforum.zoom.us/t/control-rotating-in-zoom-sdk/43804>\
**Category:** Android\
**Created:** [February 19, 2021, 8:13pm UTC](https://devforum.zoom.us/t/control-rotating-in-zoom-sdk/43804 "2021-02-19T20:13:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gsagas.mb](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gsagas.mb/32/11840_2.png) [@Gsagas.mb](https://devforum.zoom.us/u/Gsagas.mb)\
**Post date:** [February 19, 2021, 8:13pm UTC](https://devforum.zoom.us/t/control-rotating-in-zoom-sdk/43804/1 "2021-02-19T20:13:45Z")

</div>

Hi Zoom!

Is there any code you can give me to control rotating in the zoom SDK?

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 19, 2021, 9:05pm UTC](https://devforum.zoom.us/t/control-rotating-in-zoom-sdk/43804/2 "2021-02-19T21:05:45Z")

</div>

Hi @Gsagas.mb, thanks for the post.

You can prevent the meeting Activity from rotating by either extending the `MeetingActivity` class or implementing a custom meeting UI and explicitly setting an orientation for your Activity.

Thanks!

---

<div class="post-metadata">

**Author:** ![Gsagas.mb](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gsagas.mb/32/11840_2.png) [@Gsagas.mb](https://devforum.zoom.us/u/Gsagas.mb)\
**Post date:** [February 21, 2021, 3:43pm UTC](https://devforum.zoom.us/t/control-rotating-in-zoom-sdk/43804/3 "2021-02-21T15:43:36Z")

</div>

Hi @jon.zoom , thanks for replying

Can you give us a code for controlling rotating (Stop it from waiting room until the zoom class to not losing data in this time) plz

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 22, 2021, 6:06pm UTC](https://devforum.zoom.us/t/control-rotating-in-zoom-sdk/43804/4 "2021-02-22T18:06:02Z")

</div>

Hi @Gsagas.mb,

The setting to prevent an Activity from rotating is outside the scope of the SDK’s functionality, so we will unfortunately not be able to provide assistance on this forum. I recommend checking out StackOverflow and/or the official Android documentation for more information. 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [March 25, 2021, 4:06am UTC](https://devforum.zoom.us/t/control-rotating-in-zoom-sdk/43804/5 "2021-03-25T04:06:51Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
