简体   繁体   中英

Cannot run demo Tizen clock app on emulator

I'm learning Tizen on Samsung wearable through Tizen's developer site. Followed the analog clock example, to the point of uploading. When I hit the Run button on IDE, last few lines of console shows

 Installed the package: Id(BIQsvZ9SAx), Version(1.0.0) 

[Uploading RDS information to target...] Tizen application is successfully launched. The application is not available for run. So the application is just installed. (9.613 sec)

The clock app is nowhere to be found on the watch simulator. No other error occured. It just finsihes and not run anything.

I do have

tizen:category name="com.samsung.wmanager.WATCH_CLOCK"

in my config.xml.

Have been searching the web for some answer, yet it seems I'm alone. Any help to get this to work is much appreciated.

NB I can get "Hello World" to work though. It's just the watch demo does not work.

Thanks.

Watch face apps will have following in their config.xml which differentiate it with other apps.

<tizen:category name="http://tizen.org/category/wearable_clock"/>

Watch face needs to be selected from list of watchface apps installed on Gear S2 device, it doesn't start automatically.

Other category apps will be auto launched on installation from tizen sdk.

A watchface app cannot be tested on Gear Emulator/Simulator . It can only be tested on Original Gear Device. But there is hack to test watchface on Gear S2 Emulator.

Hack

Comment the above mentioned line in config.xml to launch the watch face app as similar to hello world app.

My terrible mistake. The clock is uploaded but won't show up automatically. I have to select it in settings deliberately (unlike Android which pops up the newly uploaded app immediately).

My mistake.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM