I’d like to get some clarification on the back button behavior when using the Zoom SDK. If I join a meeting via
meetingService.joinMeetingWithParams() from my own Activity, Zoom launches it’s own Activity (I believe it’s called
ConfActivityNormal internally). If I press the back button at this point, the entire application will be closed as it’s sent to the background. However, the meeting still seems to be active and the user does not leave the meeting.
The other scenario is where I join a meeting via
meetingService.joinMeetingWithParams() from my own Activity, but have another custom Activity specified in
config.xml via with the following:
CustomZoomActivity, in order to prevent the app from closing when the back button is pressed, I have to override
onBackPressed and then call
finish(). This will successfully go back to the previous Activity without closing the app, however the
onMeetingStatusChanged listener shows the meeting is still active.
Summary of questions:
- Why does the entire application close when the back button is pressed when using the default Zoom Activity?
- How can the back button behavior be properly handled? Is the way I’ve suggested in the description the correct way?
- Why does the user who joined the meeting not leave the meeting when the back button is pressed, and how can that behavior be achieved?
Specific, itemized answers to these questions are appreciated.
SDK version v5.0.24433.0616
Smartphone (please complete the following information):
- Device: Pixel Emulator
- OS: Android
- Version: API 29