This allows you to use the RemotePlaybackClient from Android to both detect and play to Chromecast devices without using the full Cast SDK or a custom receiver.
Android Support v7 Librarieshttps://developer.android.com/tools/support-library/setup.html
android-support-v7-appcompat
android-support-v7-mediarouter
Once you have the above installed, correct the library locations in the project under android properties.