I have recently used Zoom SDK for android referring the example2. My aim to to simply join the meeting. I am able to successfully see the UI for the first time after installing the app. For subsequent launches the UI is not shown. But the user is able to join the meeting, the video stream of the user can be viewed by those who joined from desktop app.
I am using target android SDK 30. My device is Android 8.1 Oreo
I am just seeing a notification “Meeting in Progress”. User stays in the previous screen from where the launchMeeting is called. But the user has successfully joined the meeting. I am seeing the following logs after launch meeting is triggered
2021-03-20 12:46:59.115 7021-7021/com.biotech.zoom W/AudioTrack: Use of stream types is deprecated for operations other than volume control*
2021-03-20 12:46:59.116 7021-7021/com.biotech.zoom W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case*
2021-03-20 12:46:59.502 7021-7021/com.biotech.zoom W/AudioTrack: Use of stream types is deprecated for operations other than volume control*
2021-03-20 12:46:59.502 7021-7021/com.biotech.zoom W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case*
2021-03-20 12:48:22.976 7021-7021/com.biotech.zoom W/AudioTrack: Use of stream types is deprecated for operations other than volume control*
2021-03-20 12:48:22.976 7021-7021/com.biotech.zoom W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case*
2021-03-20 12:48:23.478 7021-7021/com.biotech.zoom W/AudioTrack: Use of stream types is deprecated for operations other than volume control*
2021-03-20 12:48:23.478 7021-7021/com.biotech.zoom W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case*
The example2 app is working fine. I just copied the CustomMeetingActivity to my project and invoked it by calling joinMeeting. I have added my custommeetingactivity in config.xml
Is it mandatory to put the custom ui activity inside the MainActivity?
Even if I try to call joinMeeting without custommeetingactivity I get the same issue. Please help!!!
I am not sure which Activity you are referring to, as there is no file by that name in either of the sample projects. That being said, the sample projects are meant to serve as a reference only. Copying single files from that project into your own project can cause issues while compiling or running your project.
Can you please provide additional context around what you are trying to accomplish so that I may better assist?
It is MyMeetingActivity and not CustomMeetingActivity.
My Requirement:
Step1: Join a meeting hosted from a desktop/Web app.
Step2: Use a custom UI
My Implementation:
I have downloaded the SDK for Android and added the mobiletrc and commonlib projects as dependencies
I Have initialised the ZoomSDK with appSecret and appKey and the initialisation listener gives success callback (error and internalError values are 0)
I created a CustomMeetingActivity referring the MyMeetingActivity in example2. I have added the entry in config.xml
Then I am calling the joinMeeting function from MeetingService class by passing meetingId and password. (The meeting host on desktop/web app can see me in the participant list and can see my video stream as well)
Issue:
I am not seeing any User Interface. I could see my custom UI only for the 1st launch. For the subsequent app launches, I am neither seeing the default zoom ui nor my custom ui
Specifications:
I am using latest Android SDK for Zoom
I am using Kotlin Programming Language
I have not declared any permissions in AndroidManifest. (I followed the AndroidManifest of example2)
I have enabled Camera/Mic/Storage/Phone permissions for my app
compileSdkVersion 30
buildToolsVersion “30.0.3”
minSdkVersion 27
targetSdkVersion 30
Please let me know if I am missing anything here. Example2 project works fine for me. I almost did the same configurations
Thank you for clarifying. The SDK will only handle starting the MeetingActivity for you if you are using the default meeting UI. If you are utilizing a custom meeting UI, you are solely responsible for all UI tasks, including launching the Activity you will host your meeting UI in and updating the UI elements during the meeting.