How to set custom watch time on Sony SmartWatch 2 after updating SW2

Background

Sony released an update for Sony SmartWatch 2 in December 2014. While the update added new features to the watch, unfortunately, this led to a violation of custom watches. I have developed more than 100 custom watches that no longer show the correct time (the clock goes out, but the minutes are fine) and the dates are no longer displayed. There is also related SO mail with a similar problem.

I based my timezone code on samples provided by Sony, however I want to know if there has been a recent API change that requires me to recode my observation.

I am currently using the following code to draw the time hands of my time zone:

<com.sonyericsson.extras.liveware.aef.widget.TimeView android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/hour_border_00" widgets:timeType="hours_fine" /> 

in TimeLayout in my XML layout for the clockwise direction of my analog observer.

Question

Is there something wrong with my implementation of the analog clock from Sony SmartWatch 2 API? If so, how can I fix it?

+3
source share

Source: https://habr.com/ru/post/1209854/


All Articles