Search:     Advanced search

MMS - Opening the Mirage app programmatically from Crestron

Article ID: 123
Last updated: 31 Mar, 2015
Revision: 3
Add comment
Views: 2545
Comments: 0
Posted: 14 Nov, 2014
by -- .
Updated: 31 Mar, 2015
by Simon J.

You are able to call the Mirage app via the mirage:// handler. There are a few options you can pass. The port is optional and defaults to 5004. You can also leave the MMS Instance blank as long as you include the "/" before it and the "?callback=" after it. The IP address is required. For the callback url, insert whatever handler is appropriate for the app you'd like to return to.

mirage://<ip address>:<port>/<instance>?callback=<callback url>

Examples:

1.mirage://192.168.1.58:5004/Player_B?callback=


2.mirage://192.168.1.58/Player_B?callback=


3.mirage://192.168.1.58:5004/?callback=


4.mirage://192.168.1.58/?callback=


To switch back to the Crestron app from the MIrage app:

Crestron Mobile now has a registered URL scheme called "Crestron://"  Invoking this url on the iOS device will open Crestron Mobile if it is installed on the device.  For example, you could enter this URL in the Safari browser on the device and Crestron Mobile will open.  Also, any other application can use this URL to launch Crestron Mobile. 

To be able to navigate back to the app that launched Crestron Mobile, there is a Return to Launch App Reserved Join.  The format for the return to app string is as follows:

crestron://

----------------------------------------------------------------------------------------------------------------------------------------------------------

The link below is a builder for the top instructions. You can enter your information and then copy the URL provided to the appropriate place in your integration.

http://autonomic-controls.com/documents/ios/tools/urlbuilder/

Also listed in
folder Support

Prev   Next
KB0156 UTF-8 Support     KB0066 How to Setup the RTI Sample Program