This Google Cast demo application shows how to use the Android Presentation API with Google Cast devices.