Git Product home page Git Product logo

kickflip-android-example's Introduction

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-android-example's People

Contributors

onlyinamerica avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.