Using App

This guide explains how to control your app on the Simulator.

Launching App

There are three ways of launching an app.

Using 'Launch App' on the menu or ‘App’ button on RCU

  1. Click Menu > File > Launch App or click the App button on the bottom of RCU.

  2. Select the root directory of the app and click OK.
    The root directory must be the directory where appinfo.json is located.

Using CLI command

Execute the following command on the terminal.

ares-launch -s VERSION /APP/DIR/PATH
 
// example
ares-launch -s 22 /home/user/myApp

  • The path can be either relative or absolute.

  • VERSION is the version of webOS TV. For example, it would be 22 for webOS TV 22 Simulator.

If there are multiple Simulators installed corresponding to the specified webOS TV version, the latest-version Simulator will be run and launch the app.

Clicking the app icon on the main screen or selecting the app on the app list window

Once an app is launched, its icon is added to the main screen and app list. 

Clicking the app icon on the main screen or selecting the app on the app list window will launch the app. 

Debugging

The Web Inspector is launched automatically when the app is run, so you can debug the app with it.

The screen shost for the simulator inspector

 

Closing App

You can close an app by either:

  • Clicking Menu > File > Close App, or

  • Clicking the Close button on the bottom of RCU

Removing App

To remove an app from the main screen and app list window, right-click the app to remove from the main screen or app list window and select Remove.

Auto-reload

As soon as you modify and save the code, your app is automatically reloaded, so you can check the result of the modification you made immediately.

Navigation