Don't know what Zype is? Check this overview.
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.
Android Studio
1. Clone repo
2. Open Android Studio and create new Project from Version Control
3. Build project and run
- Populates your app with content from enhanced playlists
- Video Search
- Live Streaming videos
- Downloading videos
- Video Favorites
- Dynamic theme colors
- Resume watch functionality
- Midroll ads
- Closed Caption Support
- Native SVOD via In App Purchases
- Pre-roll Ads (VAST)
- Universal SVOD via login
Steps you need to perform to get a new app running:
-
In the app level
build.gradle
file changeapplicationId
to your app package name -
Change app name, launch icon, accent color and other resources to customize app appearance
-
Setup content provider:
- In the
AndroidManifest.xml
file find the declaration ofZypeContentProvider
and change itsandroid:authorities
property to[Your applicationId].provider
- In the
Contract
class updateCONTENT_AUTHORITY
constant to the same value above
-
API keys:
Update following constants in
ZypeSettings
class with values applicable to your Zype account:
APP_KEY
CLIENT_ID
CLIENT_SECRET
ROOT_PLAYLIST_ID
-
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
- In 'ZypeSettings' class provide your social network ids
- To use Google Analytics in your app provide your GA id in 'ZypeSettings' class and uncomment init of Google Analytics in 'ZypeApp' class
- To use Fabric in your app provide your fabric api key in 'AndroidManifest.xml' and uncomment init of fabric in 'ZypeApp' class
- To use OneSignal in your app uncomment init of OneSignal in 'ZypeApp' class
- Java - Language Java
- Gradle - Build Tool
- Fabric - Analytics and Crashlitics
- OneSignal - Multiplatform push notifications
- Zype API - Zype API docs
Coming soon
Please submit pull requests to us.
For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details