kickflip-android-example

Example project for integration of the Kickflip Android SDK for super easy live broadcasts. https://kickflip.io

Github星跟蹤圖

Kickflip SDK Example Application

kickflip app screenshot
Google Play link

This is an example implementation of the kickflip-android-sdk that
illustrates easy live, high definition HLS broadcasts. Also check out our slick iOS example project!

Features

Building this project

Set up Java, the Android SDK & Build-Tools

  1. Download and install the latest JDK

  2. Download and install the Android SDK

  3. Run path/to/android-sdk/tools/android to install the following packages:

    • Android SDK Tools 22.6.3
    • Android SDK Platform-tools 19.0.2
    • Android SDK Build-tools 19.1
    • Android 4.4.2 SDK Platform 3
    • Android Support Repository 5
    • Android Support Library 19.1
  4. Define the Android SDK root directory as $ANDROID_HOME in your environment.

     # ~/.bash_profile
     # e.g If you're using Android Studio on Mac OS X:
     export ANDROID_HOME=/Applications/Android\ Studio.app/sdk/
    

ProTip: You should have the Android SDK root, along with the /tools and /platform-tools sub-directories added to your PATH.

SECRETS.java

After you sign up for a Kickflip account, copy your API keys to ./app/src/main/java/io/kickflip/sample/SECRETS.java:

	$ touch ./app/src/main/java/io/kickflip/sample/SECRETS.java
		package io.kickflip.sample;
		public class SECRETS {
		    public static final String CLIENT_KEY = "YourKickflipKey";
		    public static final String CLIENT_SECRET = "YourKickflipSecret";
		}

Building from the Command Line

  1. From this directory run:

     $ ./gradlew assembleDebug
    
  2. The Kickflip Example .apk will be in ./app/build/apk. Install it!

     $ adb install ./app/build/apk/app-debug-unaligned.apk
    

Building with Android Studio

  1. Select Import Project and point Android Studio to the root project directory.

  2. Hit the Play Icon or control + R to build and run on your attached Android device.

License

Apache 2.0

Copyright 2014 OpenWatch, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

主要指標

概覽
名稱與所有者Kickflip/kickflip-android-example
主編程語言Java
編程語言Java (語言數: 1)
平台
許可證
所有者活动
創建於2014-04-11 15:35:40
推送於2015-05-21 01:11:57
最后一次提交2015-05-20 18:13:22
發布數1
最新版本名稱1.1.1 (發布於 )
第一版名稱1.1.1 (發布於 )
用户参与
星數98
關注者數17
派生數88
提交數26
已啟用問題?
問題數14
打開的問題數5
拉請求數0
打開的拉請求數0
關閉的拉請求數1
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?