Search form


Running the Control Panel Sample App - iOS


Follow steps in the Building - iOS OS X section to build and install the Control Panel sample app on an iOS device.

The Control Panel service sample app functions as the Controller side of the Control Panel service framework. At this time, there is not an iOS Controllee sample application. In order to have a Controllee to interact with, follow the instructions in Run a Controllee to set up and run a sample Controllee application on a Linux machine. Make sure the Linux machine and the iOS device are on the same network.

To install the app navigate to the AllJoyn™ root directory, then:

export AJ_ROOT=`pwd`

# For installing on the simulator use the following .app file

# For installing on a device use the following .app file

Run the Control Panel Sample App

  1. Launch the Control Panel sample app on your iOS device.

  1. Click the "Connect to AllJoyn" button.

The application is now running as a Controller. In the list area below the "Disconnect from AllJoyn" button, you will see any nearby applications that have been discovered via About that support the Control Panel service framework and are acting as a Controllee.

  1. To interact with a Controllee, select one from the list of nearby applications that have been discovered.
  2. Choose an option from the pop-up that appears:

    • Show Announce: This will allow you to view the About announcement that was received from the nearby application.

    • About: This will show the full set of information retrieved by the About Client from the nearby application.

    • Control Panel: You can use the Control Panel Controller to interact with the control panel(s) exposed by the Controllee.

      • After selecting this option, click the Language button in the upper right-hand corner of the screen and enter one of the available languages into the text field. For example, enter "en" to see the English version of the control panel (selected by default).
      • Once you have chosen a control panel and a language, the data for the corresponding control panel is displayed.

Run a Controllee

Follow the instructions in the Running - Linux section to build and run the Controllee sample app. This will allow you to run the ControlPanelService Controllee sample on a Linux machine.

For future news and updates, please follow or visit
1 year 1 week ago