I’m calling the activity as shown in below image. But as soon as this method is getting called, app is just displaying blank screen and restarting. Is there problem with calling the activity? and also there are no logs which relate to this issue. MyMeetingActivity(WorkPls) is getting created and later whole app is restarting.
I’m not sure what the WorkPls Activity in your app is doing, but there are two main actions required in order to extend the MeetingActivity class:
Define an Activity in your app which extends MeetingActivity
Define a string resource in your config.xml with a name attribute of zm_config_conf_activity and a value containing your Activity class’s package + name (so if your package was com.my.package and your Activity was MyMeetingActivity, it would be com.my.package.MyMeetingActivity)
Hi @jon.zoom , WorkPls is my MyMeetingActivity it has the same code present in the us.zoom.sdkexample2.MyMeetingActivity
Now my requirement is that I don’t need custom UI. I just want to disable the screenshot and recording in the default UI. Is there anyway where I can have default UI while inherting the SDK’s MeetingActivity?
Yes, the approach mentioned in my previous reply is how you would do this. This will allow you to extend the MeetingActivity class, which hosts the default meeting UI. By naming your Activity in your config.xml, you are telling the SDK to use your own instance of MeetingActivity, rather than the one defined in the SDK.