How to fix custom watch face time on Sony SmartWatch 2 after SW2 update [closed]

杀马特。学长 韩版系。学妹 提交于 2019-12-07 12:58:16

问题


Background

Sony released an update for the Sony SmartWatch 2 in December 2014. Whilst the update has added new features to the watch, it has unfortunately caused custom watchfaces to break. I have developed over 100 custom watchfaces which are no longer showing the correct time (hours are out but minutes are ok) and are no longer showing dates. There is a related SO post to the similar problem as well.

I have based my watchface code on the samples provided by Sony however I want to know if there has been a recent change to the API which requires me to recode my watchface.

I am currently utilising the following code to draw the hour hands of my watchface:

<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" />

within a TimeLayout in my layout XML for the hour hand of my analog watchface.

Question

Is there something wrong with my implementation of the analog hour hand from the Sony SmartWatch 2 APIs? If so, how can I best correct it?

来源:https://stackoverflow.com/questions/27536415/how-to-fix-custom-watch-face-time-on-sony-smartwatch-2-after-sw2-update

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!