Skip to content

Latest commit

 

History

History
110 lines (70 loc) · 3.15 KB

README.md

File metadata and controls

110 lines (70 loc) · 3.15 KB

Don't know what Zype is? Check this overview.

Zype Android Template

This SDK allows you to set up an eye-catching, easy to use Android video streaming app integrated with the Zype platform with minimal coding and configuration. The app is built with Java and Zype API. With minimal setup you can have your Android up and running. An example of fully functional app that is using a Zype sandbox account.

Prerequisites

Android Studio

Installing

1. Clone repo
2. Open Android Studio and create new Project from Version Control
3. Build project and run

Supported Features

  • Populates your app with content from enhanced playlists
  • Video Search
  • Live Streaming videos
  • Downloading videos
  • Video Favorites
  • Dynamic theme colors
  • Resume watch functionality

Unsupported Features

  • Midroll ads
  • Closed Caption Support
  • Native SVOD via In App Purchases

Monetizations Supported

  • Pre-roll Ads (VAST)
  • Universal SVOD via login

Creating new Android app based on Zype Template

Steps you need to perform to get a new app running:

Mandatory updates

  1. In the app level build.gradle file change applicationId to your app package name

  2. Change app name, launch icon, accent color and other resources to customize app appearance

  3. Setup content provider:

  • In the AndroidManifest.xml file find the declaration of ZypeContentProvider and change its android:authorities property to [Your applicationId].provider
  • In the Contract class update CONTENT_AUTHORITY constant to the same value above
  1. API keys:

    Update following constants in ZypeSettings class with values applicable to your Zype account:

  • APP_KEY
  • CLIENT_ID
  • CLIENT_SECRET
  • ROOT_PLAYLIST_ID
  1. Setup app features:

    Update feature flags in ZypeSettings class to customize functinality and UI of your app

  • DOWNLOADS_ENABLED
  • DOWNLOADS_ENABLED_FOR_GUESTS
  • THEME_LIGHT

Optional

  1. In 'ZypeSettings' class provide your social network ids
  2. To use Google Analytics in your app provide your GA id in 'ZypeSettings' class and uncomment init of Google Analytics in 'ZypeApp' class
  3. To use Fabric in your app provide your fabric api key in 'AndroidManifest.xml' and uncomment init of fabric in 'ZypeApp' class
  4. To use OneSignal in your app uncomment init of OneSignal in 'ZypeApp' class

Built With

App Architecture

Coming soon

Contributing

Please submit pull requests to us.

Versioning

For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details