This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

Cisco Spark Android SDK Example

This demo employs Cisco Spark service through Spark Android SDK.
This demo support Android device with Android 6.0 or later

Table of Contents

Setup

  • Install Java SE Development Kit 7u45 or later (Java 8 is OK)

    http://www.oracle.com/technetwork/java/javase/downloads/index.html

  • Android Studio 2.3 or later

    https://developer.android.com/sdk/installing/studio.html

  • Android Plugin for Gradle 2.3.3

    If you upgrade your gradle plugin newer than 3.0.0, make sure to add google repository and remove retrolambda plugin in your build.gradle file:

    allprojects {
      repositories {
          jcenter()
          google()
          ...
      }
    }
    
  • Select tools->Android->SDK Manager in Android Studio, and install the following packages:

    • Android SDK Tools
    • Android SDK Platform-Tools
    • Android SDK Build-Tools (latest)
    • Android 7.1.1 (latest)
    • Support Repository: Android Support Repository
    • Support Repository: ConstraintLayout for Android
    • Support Repository: Google Repository

Install

  1. Clone or download project to your computer.

    git clone https://github.com/ciscospark/spark-android-sdk-example
    
  2. Import project
    In Android Studio,open "File" -> "Open", select project.

  3. Connect your device with debug enabled

  4. Build & Run

Usage

Authorize

Spark ID
If you have a Spark ID (your email address), you can choose "Spark ID" to authorize your device.

Guest ID
If you have a Guest ID (a string token), choose "Guest ID" in the first page, then you need to enter your App JWT token and login.

View code on GitHub
  • Owner

  • Contributors

    +4Github contributors
  • Categories

  • Products

    Webex
  • Programming Languages

    Java
  • License

    MIT License

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.