Hi everyone
For a very long time now I try to get my wearable web app to offer a
proper web widget. What I've seen so far is just catastrophic: the
documentation is absolutely unclear and insufficent and even worse:
the implementation is full of bugs. The community cannot help as they
seem to not understand english or simply have no clue..
Here's what I want to do: The main app offers an widget which can be
added to the homescreen by the user. This can be done multiple times
so there can be multiple widget instances. This works fine, but there
are huge problems to send data to widget instances.
My odyssee started with the simple task to list all widget instances
and send some data to them. Using WidgetServiceManager.GetWidget I can
successfully receive an widget which can then be used to retrieve all
instances of that widget. So far so good. Each of this widget
instances has a method sendContent() and getContent(). So I
successfully sent a different random string to each instance. Now the
first problem is that getContent() always returns an empty object
instead of the item sent before.
The second problem is that there seems to be no way that a widget
instance can retrieve it's own instance id -> which makes the
getContent() and sendContent() methods above meaningless! Why send
data to a widget instance when that widget instance is not able to
read that data?!?
The third problem is a bug that existed since Tizen 2.3.1: each widget
instance has its unique id, but after a reboot of the device those
id's have changed! So even if problem 1 & 2 should be resolved, after
every reboot the user has to reconfigure his widgets.

I've already asked the community but with no success, see
Problem 1:
https://developer.tizen.org/forums/web-application-development/wearable-readwrite-widget-content
&
https://developer.tizen.org/forums/web-application-development/widgetservice-sendcontent-getcontent
 Problem
2: 
https://developer.tizen.org/forums/web-application-development/retrieve-own-widget-idProblem
3: 
https://developer.tizen.org/ko/forums/native-application-development/multiple-widgets?langswitch=ko
(applies to native and web, but only wearable)
Is this just my fault as I am doing something wrong? Or are this
really bugs? If so: how can so many obvious bugs pass any tests? Does
Samsung even test what they are providing? 
Thanks for your helpPhilippe
_______________________________________________
Dev mailing list
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev

Reply via email to