TrailMix is a demo app to demonstrate the how to integrate with MultiScreen-enabled Samsung TVs using the MultiScreen Framework API. More information, including the application communication protocol can be found here.
In addition to setting up your gradle project correctly, you need to add the Lombok IntelliJ plugin to add lombok support to Android Studio:
- Go to File > Settings > Plugins
- Click on Browse repositories...
- Search for Lombok Plugin
- Click on Install plugin
- Restart Android Studio
The build requires Gradle
v1.10+ and the Android SDK
to be installed in your development environment. In addition you'll need to set
the ANDROID_HOME
environment variable to the location of your SDK:
export ANDROID_HOME=/path/to/your/android-sdk
After satisfying those requirements, the build is pretty simple:
- Run
gradlew
orgradle assembleDebug
orgradle assembleRelease
from theapp
directory to build the APK only - Run one of the commands above from the root directory to build the app
gradle dist
will build the APK and copy it into thedist
directory
Building in Eclipse requires the following dependencies:
RippleEffect, Material, and AndroidSwipeLayout, as well as, the dependent Android Extras need to be imported as libraries into Eclipse. More information on how to import AARs can be found here.