Giter Site home page Giter Site logo

jwplayer-android-best-practice-apps's Introduction

JW Player SDK for Android Best Practice Apps

This repository contains samples relating to the JW Player SDK for Android.

Every subdirectory in this repository is a gradle project that can be imported into Android Studio, or IntelliJ IDEA. See the README in the subdirectory for specific usage instructions.

Sample Apps

Currently this repository contains two sample apps:

  • Movable Player Demo: showcases how you could use the JW Player SDK for Android to create an app that allows you to display a video that can be dragged around within an Activity.
  • ListView / FullscreenHandler Demo: showcases how you could use the JWPlayerView within a ListView, and how you can use a custom FullscreenHandler to achieve proper fullscreen behavior in ListViews.

Usage instructions

In general the following usage instructions apply to sample projects:

  • Clone this repository.
  • In Android Studio choose 'Open an Existing Android Studio Project' or File / Open...
  • Navigate to the location of the sample app that you want to open and select the build.gradle file in that directory, and click OK.
  • Once the project opens, go to File / New / New Module ...
  • Select Import .JAR/.AAR Package from the list
  • Navigate to the JW Player SDK for Android .aar file, select it, and click OK
  • Right-click on "app" in the Project view and choose Open Module Settings
  • Click on the Dependencies tab, then click on the green plus sign and choose Module dependency
  • Select 'jwplayer-android-sdk-x.y.z' and click OK
  • Open the AndroidManifest.xml file and replace {YOUR_LICENSE_KEY} with your license key

jwplayer-android-best-practice-apps's People

Contributors

paulmandal avatar rikheijdens avatar

Watchers

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