Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/webex/spark-android-sdk-example


https://github.com/webex/spark-android-sdk-example

Last synced: about 7 hours ago
JSON representation

Awesome Lists containing this project

README

        

# Cisco Spark Android SDK Example

This demo employs Cisco Spark service through [Spark Android SDK](https://github.com/ciscospark/spark-android-sdk).
This demo support Android device with **Android 6.0** or later

## Table of Contents

- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)

## 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.