Tizen Developers

Menu
Sites
Language
How to test watch face that I created

I'm trying to test a custom watch face I created.

 

I used an example from Tizen SDK 2.3.1 and created a native project based on 'Digital Clock' project.

 

I can install it and test the watch face on emulator by Run as menu.

 

But when I try to test with my gear S2, I can't. 

 

Here is the log for run as,

 

 

Launching the Tizen application...
# If you want to see the detailed information,
# please set the logging level to DEBUG in Preferences and check the log file in 'C:\tizen-sdk-data\ide\logs/ide-20151207_111708.log'.

[Deploying the package...]
    RDS: On
pkg_type [rpm]    pkgid [org.example.digitalex]    name [digitalex]    version [1.0.0]
Pkgid: org.example.digitalex is Terminated
spend time for pkgcmd is [1240]ms
cmd_ret:0
Certain application categories, such as "Watch Application", cannot be launched by "Run As".
(11.255 sec)

 

And, this is for debug as,

 

 

Launching the Tizen application...
# If you want to see the detailed information,
# please set the logging level to DEBUG in Preferences and check the log file in 'C:\tizen-sdk-data\ide\logs/ide-20151207_111708.log'.

[Deploying the package...]
    RDS: On
[Creating the package...]
    Created the package: C:\Users\dpeldbwu\workspace\DigitalEx\Debug\org.example.digitalex-1.0.0-arm.tpk
[Transferring the package...]
    Transferred the package: C:\Users\dpeldbwu\workspace\DigitalEx\Debug\org.example.digitalex-1.0.0-arm.tpk -> /opt/usr/apps/tmp
[Installing the package...]
    Uninstalling the package...
path is /opt/usr/apps/tmp/org.example.digitalex-1.0.0-arm.tpk
start process (install)

end process (fail)
processing result : FATAL_ERROR [61] failed
spend time for pkgcmd is [1095]ms
cmd_ret:61

 
Edited on 07 12, 2015

Responses

4 Replies
Jeongsu Kim

It seems that your package installed. Longpress current watchface, and turn the rotary bezel to right. You can see your watchface.

Song

Of cource I already checked that procedure several times, but there was not my watch face.

Jeongsu Kim

I tried same thing. Everything's ok. I can see example watchface from watchlists. I can select it and it runs well.

 

I got below log for "Run As"

Launching the Tizen application...
# If you want to see the detailed information,
# please set the logging level to DEBUG in Preferences and check the log file in '/home/jst.kim/tizen-sdk/2.4-rev1-data/ide/logs/ide-20151209_100205.log'.

[Deploying the package...]
    RDS: On
[Creating the package...]
    Created the package: /home/jst.kim/tizen-sdk/DigitalWatch/Debug/org.example.digitalwatch-1.0.0-arm.tpk
[Transferring the package...]
    Transferred the package: /home/jst.kim/tizen-sdk/DigitalWatch/Debug/org.example.digitalwatch-1.0.0-arm.tpk -> /opt/usr/apps/tmp
[Installing the package...]
    Uninstalling the package...
path is /opt/usr/apps/tmp/org.example.digitalwatch-1.0.0-arm.tpk
start process (install)
...
end process (ok)
spend time for pkgcmd is [9521]ms
cmd_ret:0
    Installed the package: Id(org.example.digitalwatch), Version(1.0.0)
Certain application categories, such as "Watch Application", cannot be launched by "Run As".
(24.775 sec)

 

Sunwook Bae

 

Could you pleae check the following pages?

Actually, you need to get the certificate to run the app on the target device.

 

- Gear | Tizen Extension SDK Guide

http://developer.samsung.com/technical-doc/view.do?v=T000000271

- Getting the Certificate

http://developer.samsung.com/gear/guide-certification