A sample app for Android TV written in Java that utilizes the KenticoCloudDeliveryJavaRxSDK to manage and retrieve content
Clone or download
Latest commit ddd0986 Jan 8, 2019

README.md

Kentico Cloud Sample Application for Android TV

Dancing Goat Sample App for Android TV

A sample app for Android TV written in Java that utilizes the KenticoCloudDeliveryJavaRxSDK to manage and retrieve content You can register your account for free at https://app.kenticocloud.com.

By default, it displays content from a Sample Project that demonstrates Kentico Cloud features and best practices. This fully featured project contains marketing content for Dancing Goat – an imaginary chain of coffee shops. If you don't have your own Sample Project, any admin of a Kentico Cloud subscription can generate one.

Application Setup

  1. Install Android Studio and the latest Android SDK tools.
  2. Clone or download the repository into a chosen folder.
  3. Open the project in the IDE, let it install all the necessary libraries and tools.
  4. Create a virtual TV device, for example with specifications 1080p, and Android API 25.
  5. Run the project witht the created TV device as a specified deployment target.

Content Administration

  1. Navigate to https://app.kenticocloud.com in your browser.
  2. Sign in with your credentials.
  3. Manage content in the content administration interface of your sample project.

You can learn more about content editing with Kentico Cloud in the documentation.

Content Delivery

  1. In order to utilize your own project instead of the default one, you need to change the KENTICO_CLOUD_PROJECT_ID constant in the AppConfig.java file to the ID of your own project.
  2. The project ID can be found on Kentico Cloud by navigating to Project Settings and then to API Keys

Application Installation

  1. Building the project in Android Studio creates an .apk file, located in app\build\outputs\apk\debug.

  2. The file can be used to install the application on a TV, using the Android Debug Bridge.

  3. The Developer Mode and Allow USB debugging modes have to be turned on the TV.

  4. By connecting the laptop and the TV with a USB cable and having both of them on the same network, one can install the app:

    adb connect <TV_IP_ADDRESS>

    adb install <PATH_TO_.APK_FILE>

  5. The TV has to be connected to the Internet in order to retrieve content from Kentico Cloud.

Analytics