tutorials | galaxy watch
Remote Device Manager, An Easy Way to Launch Your Application with Tizen Studio
Technical Content Writer
The Remote Device Manager provides a mechanism to deploy a project remotely from Tizen Studio to a Tizen-enabled device, such as Galaxy Watch. Tizen-enabled devices can be connected or disconnected through the Remote Device Manager if they are on the same network. Once the connection is made, a device log is shown in the Log View. You can also use the interface of the Remote Device Manager for executing SDB shell commands.
Prerequisites: Tizen Studio 2.0 or higher
Launch a project with Remote Device Manager
Step 1: Disable Bluetooth
If the watch has not been upgraded and the Tizen version is below 5.0, Bluetooth should be disabled during this process. In upgraded watches, you don’t need to disable Bluetooth.
Path: Settings > Connections > Bluetooth
Figure 1: Disabling Bluetooth
Step 2: Enable debugging mode
Make sure debugging mode is enabled. You can enable debugging mode from the Settings menu, as shown below.
Path: Settings > About Watch > Debugging is turned on
Figure 2: Enabling debugging mode
Step 3: Set the Wi-Fi to Always on
This step is optional, but to avoid any unnecessary issues, it is better to set the Wi-Fi to Always on. Leaving the setting on Auto can sometimes create issues.
Path: Settings > Connections > Wi-Fi > Always on
Figure 3: Setting the Wi-Fi to Always on
Step 4: Connect to the network
Connect the watch to the same network as your PC.
Choose either of the following ways to connect the devices to the same network:
• By creating a mobile hotspot
• By using Wi-Fi under the same router
Step 5: Restart the watch
After the previous steps have been completed, restart the device. If you do not, the connection setup shows an error.
Figure 4: Rebooting the watch
Step 6: Establish the connection from the Remote Device Manager
In Tizen Studio, go to Launch Remote Device Manager.
Figure 5: Launching the Remote Device Manager
Scan for new devices. The window shows a list of available devices and their IP addresses. You can also add a device manually from the Remote Device Manager window.
Figure 6: Searching for available devices for connection
To connect to the device, click on the Connect toggle next to the watch IP address and port information. The watch receives an RSA authentication request through a pop-up during this connection setup and it is mandatory to accept the RSA authentication to complete the process.
Figure 7: Connecting to the watch from the Remote Device Manager
You are now all set to deploy your app from Tizen Studio to the wearable device.
Step 7: Permit to install user applications
As a security feature, the device or emulator you have connected to does not contain the necessary certificates for installing user applications, and you must install them before being able to run your application on it. To do so, select “Permit to install applications” from the context menu of the device in the Device Manager.
If the “The permit to install application is not required for this device” appears, this step is unnecessary.
Figure 8: Setting the permit to install applications in the Device Manager
Step 8: Launch your project
Now, deploy your project on your connected watch, as shown in the image below.
Path: Right-Click on the project > Run As > 1 Tizen Native Application
Figure 9: Deploying the project from Tizen Studio to a connected watch
Some helpful tips for connecting your device with the Remote Device Manager
Check the IP address of your watch from Connections > Wi-Fi -> Wi-Fi Networks > tap on the SSID (your Wi-Fi name) > IP address.
If your device is already shown in the Remote Device Manager's history, delete it and try to connect again.
Launch the Device Manager to see the Log View.
Figure 10: The Log View from Device Manager
Make sure the watch is not connected with any other devices, including a phone. Otherwise, the connection fails and you receive the following error message:
Figure 11: Error message during multiple connections
If you cannot find the watch after scanning for devices from the Remote Device Manager, make sure your device is on the same network. To check this, go to the command prompt on your PC and ping the IP address of the watch in the following manner:
ping < Watch_IP >
If the ping command fails to connect to the IP address of your watch, it is not on the same network, and the SDB / Remote Device Manager does not work. To fix this, you need to change the network settings of your router or PC. The issue can also be caused by firewall settings, although this is rare.
The main purpose of this article is to help new developers to deploy Tizen projects to a real device using the Tizen Remote Device Manager. Hopefully, this tutorial is helpful for beginners and gives them a good experience with Tizen Studio.
If you have any other problems or queries regarding launching projects with the Remote Device Manager, feel free to reach out through the Samsung Developers Forum.