Welcome to our WXSD DEMO Repo!
This is a sample application, which demonstrates how a potential community-based peer-to-peer mental health support platform could be created, using Webex Android SDK. We use the SDK to demonstarte functionalities like creating sessions, let the user join the sessions, get details of the members in the sessions, retrieve details of the user and soon. The target audience for this PoC are health care professionals who want an effortless way to group and meet thier clients. The app has a user-friendly interface, making it easy for users to find the right group to solve their problems.
In this demo application, the user can create new therapy sessions or join an existing session and start messages and meetings in the group using Webex Android SDK. Here, the user can login using OAuth or as a guest user using JWT. We use SDK to create sessions, let the user join the sessions, get details of the members in the sessions, retrieve details of the user and soon. During the meeting the user can define various meeting options.
- Mobile Integration with valid client ID and client secret. Please refer Webex Developer Site to see how to register your integration.
- Android Studio 4.0 or above (recommended)
- Webex Android SDK version >3.1.0
- Android SDK Tools 29 or later
- Android API Level 24 or later
- Java JDK 8
- Kotlin - 1.3.+
- Gradle for dependency management
-
Download or clone this git project and open it in your android studio IDE
-
Include all these constants in your gradle.properties file
CLIENT_ID="" CLIENT_SECRET="" SCOPE="" REDIRECT_URI=""
-
Add the following repository to your top-level
build.gradle
file:allprojects { repositories { maven { url 'https://devhub.cisco.com/artifactory/webexsdk/' } } }
-
Add the
webex-android-sdk
library as a dependency for your app in thebuild.gradle
file:dependencies { implementation 'com.ciscowebex:androidsdk:3.2.0@aar' }
-
Run this project on android emulator or on local device
The first page in the Peer Support Demo app is the support groups page. In this all the support groups that are active/ closed are displayed and you can view the details of the support group.
By clicking on the info icon on each support group, you can view the description, owner of the group, session ID, member emails, duration, gender or age preferneces of that group.
You can view the number of members present in a group on the support group card. To view the mebers details like email address, press on the info icon.
Once you are ready and would like to join a space, you can click on the Join button and you are already not a member it turns to waiting and you have to wait till the owner of the space lets you in. But if you are a member you can directly join the space and start messaging and calling.
This is the second page in the peer support app. In this all the support groups you are a member of is shown. If you are the owner of a specific group then, view join request button is also shown.
You can click on the green create new session button on the top to create a space. On clicking you can enter the details like topic name, description, duration, and other peer preferences like gender and age.
If you the owner of any support group, you will be able to see this button in this page. You can click on a specific group card to view and allow people into that space.
Next page in the peer support app is the about me page. In this page you can view your details like avatar, email ID, last activity and status. You cn also edit your information like gender and age details. This is always optional.
If you wish to stay anonymous, while logging in just click on the stay anonymous button and you will be logged in as a guest user. Your details wont be displayed to anyone.
Once you are done exploring the application please click on the logout button to securely logout.
Check out our live demo, available here!
*For more demos & PoCs like this, check out our Webex Labs site.
All contents are licensed under the MIT license. Please see license for details.
Everything included is for demo and Proof of Concept purposes only. Use of the site is solely at your own risk. This site may contain links to third party content, which we do not warrant, endorse, or assume liability for. These demos are for Cisco Webex usecases, but are not Official Cisco Webex Branded demos.
Please contact the WXSD team at [email protected] for questions. Or, if you're a Cisco internal employee, reach out to us on the Webex App via our bot ([email protected]). In the "Engagement Type" field, choose the "API/SDK Proof of Concept Integration Development" option to make sure you reach our team.