This topic describes how to test your Web application by running or debugging it on a device.
Device Manager
If you have developed your application on the simulator, it is ready for uploading and testing on a device. It is highly recommended that you also test your application on a target device because there are some unsupported features on the simulator.
To install your application on a device in common:
To connect the device to the SDK as a remote device:
Enable Developer Mode on the device:
On the device, go to the menu "URL Launcher Settings > Developer Mode".
Switch "Developer mode" to "On".
Figure 1. Developer Mode location
Enter the IP address of the computer that you want to connect to the device, and click "OK".
Reboot the device.
Figure 2. Enter the IP address
Connect the device to the SDK:
Figure 3. Device Manager
Figure 4. Remote Device Manager
Figure 5. Add Device dialog
Figure 6. Switch connection on
You can launch your application on the target device in normal or debug mode:
To launch the application in normal mode, right-click the project in the "Project Explorer" view, and select "Run As" and a specific launch mode:
To launch the application in debug mode, right-click the project in the "Project Explorer" view, and select "Debug As > Tizen Web Application". The Web Inspector runs automatically when you launch the application in debug mode. It is based on the WebKit Web Inspector, and has been modified to support remote debugging.
Figure 7. Web Inspector
The following are common issues you can encounter when working with an application on the device:
Error codes
"You are not an authorized user!" error and "Null Pointer" error (NPE)
"Failed to get a device information" message
On a macOS computer, the Tizen Studio freezes or hangs