This Kitchen Sink demo employs Cisco Webex service through Webex Android SDK. It provides a developer friendly sample implementation of Webex client SDK and showcases all SDK features. It focuses on how to call and use Webex-SDK APIs. Developers could directly cut, paste, and use the code from this sample. It basically implements Webex-SDK APIs by sequence.
This demo support Android device with Android 7.0 or later
Open the project level Gradle file and add the following lines under the repositories tag, which is nested under allprojects.
allprojects {
repositories {
jcenter()
google()
flatDir { dirs 'aars'} //add this line
}
}
Add the following dependency in module level Gradle file and press sync-now
implementation files('libs/WebexSDK.aar')
implementation files('libs/WebexSDK-Meeting.aar')
implementation files('libs/WebexSDK-Wxc.aar')
build.gradle
file:
allprojects {
repositories {
jcenter()
maven {
url 'https://devhub.cisco.com/artifactory/webexsdk/'
}
}
}
Add the webex-android-sdk
library as a dependency for your app in the build.gradle
file:
dependencies {
implementation 'com.ciscowebex:webexsdk:3.14.0'
}
dependencies {
implementation 'com.ciscowebex:webexsdk-meeting:3.14.0'
}
dependencies {
implementation 'com.ciscowebex:webexsdk-wxc:3.14.0'
}
For example see README
Please update the below constant in gradle.properties
SCOPE=""
Please update below constants in local.properties file
CLIENT_ID=""
CLIENT_SECRET=""
REDIRECT_URI=""
WEBHOOK_URL=""