Kickflip Android Example


Source link: https://github.com/Kickflip/kickflip-android-example

Kickflip SDK Example Application

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. 

Resources

ParcelablePlease is an Annotation Processor for generating Parcelable code.

Font Awesome gives you scalable vector icons that can instantly be customized - size, color, drop shadow, and anything that can be done with the power of CSS.

Forecast / DarkSky's Skycons, Animated Weather icons recreated for Android.

Demo application

material-design-icons are the official open-source icons featured in the Google Material Design specification.

What's included?

  • SVG versions of all icons in both 24px and 48px flavours
  • SVG and CSS sprites of all icons
  • 1x, 2x icons targeted at the Web (PNG)
  • 1x, 2x, 3x icons targeted at iOS (PNG)
  • Hi-dpi versions of all icons (hdpi, mdpi, xhdpi, xxhdpi, xxxhdpi) (PNG)

Sick of writing ViewHolder classes, inflate xml and distinguish ViewTypes in your adapters?

Write less code with AnnotatedAdapter, an annotation processor for generating RecyclerView and AbsListView adapters.

Make Android screenshots of scrollable screen content.

This tool makes a number of screenshots, scrolling screen content by half height each time. Status bar and navigation bar are included only once.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes