How to launch Android apps via IP control

You can launch the apps listed in the response of getApplicationList by calling setActiveApp.
For example, when you want to launch YouTube, you can find the correct uri parameter with getApplicationList.
Here is just an example of part of a response.

  "title": "YouTube",
  "uri": "com.sony.dtv.com.google.android.youtube.tv.com.google.android.apps.youtube.tv.activity.TvGuideActivity",
  "icon": "http://example.com"

Then, you can put the uri parameter in the setActiveApp. Here is an example of request JSON.

  "method": "setActiveApp",
  "id": 601,
  "params": [{
    "data": "",
    "uri": "com.sony.dtv.com.google.android.youtube.tv.com.google.android.apps.youtube.tv.activity.TvGuideActivity"
  "version": "1.0"