语言

Menu
Sites
Language
"UI components that runs on both rectangular and circular screens"

"UI components for wearable devices have been enhanced to support a circular screen. You can make an application that runs on both rectangular and circular screens with a single source code."

Tizen 2.3.1 Release Notes

 

 

Do I understand correctly that i can simply be plugged theCircle UI to the usual square  or rectangle UI ?
In the seller office there are
disappeared the application  options for loading apps like
320 X320
360X 360

...etc.

 
 

Only app type - standalone or Compainion.


What does it mean?
Generally,  can we develop the application of the same code for Gear2 for GearS2 for GearS? )

PS

This is all for web projects

 

 

 

 

响应

10 回复
Marco Buettner

The code is for all three devices the same... In TizenSDK 2.3.1 the circle was added... The devices will selected by the resolution did you define in the feature tab of the config.xml...

Standalone runs directly on the Gear and doesnt need a connection to an android device... 

Companion requires an android device with an additional app writed for Android.

Kilim A

1. What have i add to the Web project that  the app  have Circle UI on GearS2 and rectangle UI on Gear2?

 I can not understand this.

2. "The devices will selected by the resolution did you define in the feature tab of the config.xml."

Early it was the sаme thing. But project layout had size 360x480 or 320X320. In thse Seller Office how i have said we must choose resolution and model of wearable. Now it's gone, there are no option for resolution when we downloading app. I thing something change.

3. I see only now in feature tab we can choose screen shape. This is it? Circle UI on GearS2 and rectangle UI on Gear2?


 

Kilim A

refinement... May be  layauts two ( circle and rectangle) and one code? Yes?

Marco Buettner

If you read the documents of TizenSDK it will give u the answer. And if u create a wearable application u have also the answer for u question.

1. U need only ONE html layout for rectangle and circle app. But u can also use two . Maybe u need some CSS properties for additional styles (how u cann use them see an wearable web app of tizensdk 2.3.1). And some JS lines (see also web app tizensdk)...

​2. You need doesnt need a feature for shape because of number 1, just add the additional resolution (360x360) or use screen.size.normal to use all resolution.

​But how I write, all informations you can find the Documentation of TizenSDK 2.3.1 and a example app of TizenSDK 2.3.1

daniel kim

Hi,

If you click 'Add Binary' on the same screen, you can define the Gear resolutions like previous way.

f.y.i,

You need to change the version from 2.3 to 2.2 when you  create your wgt for Gear S in tizen sdk 2.3.1 as below.

(config.xml)

       <tizen:application id="fL7xL17th5.basicW" package="fL7xL17th5" required_version="2.2"/>

Regards

Kilim A

Thanks,

 when does we change the version to  2.3.1?
 

daniel kim

Hi,

In my understaing, you need to define 2.2 into required_version before you build to create wgt for Gear S.

And you need to define 2.3.1 into required_version before you build to create wgt for Gear S2.

    <tizen:application id="fL7xL17th5.basicW" package="fL7xL17th5" required_version=""/>

Regards

Kilim A

 I make game app where objects are located on 360X360 rectangle layout ( for example on point x - 1, y -1 or x -360, y - 360)

How user can see these objects on the circle screen?

If just add some code  to  <head/> and <body/> ( Help 2.3.2.SDK -   API References > Web Application > Tizen Web UI Framework Reference > Wearable Web) it can help in this problem...

 

Kilim A

I mean " it can NOT help in this problem"
 

AVSukhov

Hello,

I think you can develop UI design compatible with other resolution and shapes (arrangement of elements based on the shape of the screen).

Or you can create separate UI for circle and rectangle screens and using tau.support.shape.circle to use the necessary UI.