The CasaTunes Android App for Tablet and Phones enables launching the App from another "calling" Android App and to return control back to the calling App without requiring users to manually switch between applications.
This seamless integration is a great advantage to homeowners and integrators, as it allows them to pick and choose the best home automation and whole house music control solutions available.
This integration is made possible by Android App developers who support using an Implicit Intent to launch another Android App, like the CasaTunes App. As part of the Implicit Intent, the calling App sends along a custom URI that optionally tells the CasaTunes App which room to show and what volume, source and power settings to use for that room. Once the CasaTunes App is opened in this way, the user can easily return to the calling App by touching the Android Back button. The calling App simply creates an ACTION_VIEW Intent with the CasaTunes custom URI scheme, described below.
The CasaTunes custom URI scheme is defined as follows (and is the same as the CasaTunes iOS URL scheme):
The following optional parameters can be specified:
Start the CasaTunes App and select the Office, power on the room, switch the source to the second source (zero based), and set the volume level to 40.