No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Require permission when read file Aug 23, 2018
gradle/wrapper
.gitignore
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

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.