Custom MeetingUI didn't show

Description
I want to develop a custom meeting ui and I found the meeting ui didn’t show up even the meeting status is MEETING_STATUS_INMEETING and the getLayout() method didn’t called.

Which version?
v4.6.21666.0429

Screenshots

Smartphone (please complete the following information):

  • rockchip rk3288
  • OS: Android
  • Version: Android 6

Additional context
The AdroidManifest.xml:

<activity
    android:name=".MyMeetingActivity"
    android:configChanges="screenSize"
    android:theme="@style/ZMTheme.MainWindow"
    android:screenOrientation="fullSensor">
</activity>

The config.xml:

<resources>
    <string name="app_name">testZomm</string>
</resources>

The activity_my_meeting.xml:

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MyMeetingActivity">

    <us.zoom.sdk.MobileRTCVideoView
        android:id="@+id/mobileRTCVideoView"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        app:layout_constraintBottom_toTopOf="@+id/textView2"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

    </us.zoom.sdk.MobileRTCVideoView>

    <TextView
        android:id="@+id/textView2"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="custom UI"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent" />

</androidx.constraintlayout.widget.ConstraintLayout>

The code for start meeting:

@Override
public void onZoomSDKLoginResult(long errorCode) {
    Log.d(TAG, String.format("onZoomSDKLoginResult: %d", errorCode));
    if (errorCode == ZoomAuthenticationError.ZOOM_AUTH_ERROR_SUCCESS) {
        MeetingService meetingService = sdk.getMeetingService();
        meetingService.addListener(this);
        sdk.getMeetingSettingsHelper().setCustomizedMeetingUIEnabled(true);
        meetingService.startInstantMeeting(this);
    }
}

Please help :cry: :cry: :cry: :cry: :cry:

Hi johntyty2,

Thanks for the post and pardon the late response. We have increasing demands on support recently so we are experiencing some delay here.

Regarding the issue you are facing, could you have a try to set the zm_config_conf_activity in your config.xml like the following?

   <string name="zm_config_conf_activity">us.zoom.sdksample.inmeetingfunction.zoommeetingui.CustomZoomUIActivity</string>

(https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/sample/src/main/res/values/config.xml#L11)

Based on your description, you have enabled the Custom UI and the meeting is up and running, but SDK is not able to locate the corresponding meeting activity to present the UI.

Hope this helps. Thanks!