Emulator Developer Guide
From webOS TV 22, Emulator will not be provided. Instead, we provide Simulator with better development convenience. If you still need to use the Emulator for webOS TV 6.0 or lower, you can install it using webOS Studio | Packager Manager.
This article describes how to use the main functions of the webOS TV emulator.
Using App Manager
If you have installed webOS CLI v3.0.0 or higher, you cannot use App Manager of the Emulator. Instead, you can install apps on the Emulator using webOS CLI or webOS Studio.
App Manager is a tool for developers to easily install, launch, close, and remove packaged app files (.IPK) from a window. With this tool, you do not need to enter CLI commands manually in the terminal for simple testing on an emulator. To start, click MENU in remote control emulator and select App Manager.
In the App Manager window, currently running apps are listed in Running Apps, and installed apps are listed in Installed Apps. Note that on the webOS TV Emulator v2.0.0 or later, the Installed Apps list shows user-installed apps only, and on the webOS TV emulator v1.2.0, it shows all installed apps, including preloaded apps.
Installing app
- Click INSTALL.
- In [Open] window, select a packaged app file (.ipk) and click Open. You can select multiple files to install.
- During installation, the progress bar is shown for each app installation progress. If you click the icon x, the installation gets canceled.
- When the installation is finished, the icon is shown, and the installed app ID is added at the end of Installed Apps. Note that the installed app ID might be added to the list after a delay.
Launching app
- Select an app ID from Installed Apps.
- Click LAUNCH.
- Then, the selected app is launched on the emulator, and you can see the app ID is added on Running Apps.
Closing app
- Select an app ID from Running Apps.
- Click TERMINATE.
- The selected app is closed, and the app ID is removed from Running Apps.
Removing app
- Select an app ID from Running Apps or Installed Apps.
- Click REMOVE.
- The selected app is removed, and the app ID is removed from Installed Apps.
Reloading app
If you install or remove an app without using App Manager, you must click RELOAD to make it applied to Running Apps and Installed Apps immediately.
Taking screenshot
You can take a screenshot of the main screen and save it.
- Click MENU and select Take Screenshot.
- In Take Screenshot window, click Take.
- The screenshot image is saved in PNG format with the automatically generated filename. The screenshot file name format is "screenshot\_{yyyymmdd_hhmmss}.png" and the screenshot file is saved under {UserProfileFolder}\webOS_SDK\Screenshot.
If you remove the Screenshot folder when the emulator is executed, the image is not saved by Take Screenshot. Once the emulator is restarted, the Screenshot folder is regenerated, and the image is saved normally.