Languages

Menu
Sites
Language
How to retrieve the watch face (widget) version?

Hello!

My watch face project includes a config.xml file which includes a version number.  Is this version number available through a tizen api or any other means?  I'd like to display it on the watch face.

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns:tizen="http://tizen.org/ns/widgets" xmlns="http://www.w3.org/ns/widgets" id="http://yourdomain/MyWatchface" version="1.1.0" viewmodes="maximized">
    <access origin="*" subdomains="true"></access>
    <tizen:application id="LnWx123456.XYZ" package="LnWx123456" required_version="2.3.1" ambient_support="enable"/>    <tizen:category name="http://tizen.org/category/wearable_clock"/>
    <content src="index.html"/>
    <feature name="http://tizen.org/feature/screen.size.all"/>
    <icon src="screen shot.png"/>
    <name>MyWatchFace</name>
    <tizen:privilege name="http://tizen.org/privilege/location"/>
    <tizen:privilege name="http://tizen.org/privilege/internet"/>
    <tizen:profile name="wearable"/>
    <tizen:setting background-support="disable" encryption="disable" hwkey-event="enable"/>
</widget>

 

Thanks!

View Selected Answer

Responses

2 Replies
Mark as answer
Marco Buettner

should be work with

widget.version

 

Alan Buch

well, that's embarrassing...  :)

Thanks for the quick answer!