3

I very much like the look and feel of Sony's extensions for the SmartWatch that have the scrolling functionality, and I would like to have the same thing in my apps. Is there any example or guideline how to implement this?

It would be nice if such functionality were a part of the Utils lib, as I see no need to waste time and brainpower to implement something that every programmer today takes for granted. I would rather focus on some unique features I'd like to develop.

Thanks for the help!

Jerker
  • 805
  • 4
  • 9
Eir
  • 1,003
  • 9
  • 24
  • Do you mean the nice default transitions? left right up down? I would realy like those as well. Have done my own system but it's far from smooth, you just can't get the transfer rate to be smooth. – Ifor Nov 27 '12 at 14:40
  • @Ifor, yes exactly that. I don't see why we should spend time and efforts implementing such standard functionality, instead of focus on innovative work. – Eir Nov 27 '12 at 14:54
  • Agree totaly and asked my contact with Sony 3 months back but no joy hence my own not very good homemade solution. The scrolling is clearly being do on the watch e.g. give it 2 screens and tell it to animate but there are no api to access this for us developers. – Ifor Nov 27 '12 at 14:58
  • I have seen your solution, and while I find it very effective (though a bit slow), I want something else: a list which can be scrolled by touch, i.e. up and down as needed. I will eventually find my way through the logic, but I see no point of wasting time for such things. – Eir Nov 27 '12 at 18:24

3 Answers3

0

The scrolling functionality that you refer to is implemented in the firmware of the SmartWatch, and is only applicable for the Notification extensions. Due to limitations of the watch hardware, this cannot currently be applied to the Control extensions.

Jerker
  • 805
  • 4
  • 9
  • Hope that the API will be extended in the future, and allow for scrolling in the Control extensions. – Eir Jan 14 '13 at 13:28
  • Does this also apply to SmartWatch 2? bought that toy with plans to build something but now I know why there are not even 300 apps for that yet. – Giszmo Dec 19 '13 at 20:47
0

FWIW I've found I can simulate scrollable text by rendering the text into a bitmap in memory, and then displaying a list of bitmaps, each of which is a chunk extracted from the bitmap.

http://damianblog.com/2014/01/12/sw2-scrollable-text/

Damian
  • 4,723
  • 2
  • 32
  • 53
  • 1
    Yes, but it's not smooth, as you cannot make sufficiently frequent screen refreshes via the API. That is also what Ifor implemented earlier, and spoke of it in the above comments. Thanks for your input anyway! – Eir Jan 12 '14 at 20:32
0

Was not possible with the SmartWatch 1, but can be achieved through lists and galleries in SmartWatch 2. That is the only way, so far.

Eir
  • 1,003
  • 9
  • 24