Hey Garth,
I was thinking along slightly different lines for the menuing system,
where the phone would send a bitmap, the watch would cycle through
selection regions. I did a more thorough writeup in this forum
thread:
http://www.metawatch.org/forums/thread/71/firmware-enhancement-wishlist
That would allow for whatever combination of text & images the app
author wanted, without having to bake it into the protocol. (On the
other hand, it would take longer to send it over the bluetooth
connection than individual icons or strings.)
At the moment, I'm most interested in text, because I think text is
easier than low-res UI bitmaps for hackers to do a decent job at. :]
Incidentally, how does Cicada identify the firmware version so that it
can know that the watch it's talking to supports fancier menuing
features? I definitely want Cicada to work with stock firmware out of
the box (that is, at least have a fallback implementation similar to
what it has today), so preferably it can query the watch to see what
fancy features it can use.
Anyway, I'm definitely excited that you're investigating watch-side
menuing; that has the potential to greatly increase the responsiveness
of watch interactions. I've wanted watch-side menus (and timer/clock
regions) for a long time.
Cheers,
Joe
On Oct 5, 2:26 pm, Garth Bushell <
garth.bush...@gmail.com> wrote:
> Hi Joe,
>
> Ah sorry my mistake! I should read more carefully.
> I have only quickly read about it and a did quick code inspection.
> having only 20 days left of my IAR license so am concentrating on
> firmware improvements and being strict with my time on other things.
>
> Your protocol implementation is so much nicer that the MWM one. (I see
> you've heard of constants.)
>
> Looks like we're on the same page looking more deeply at your code.
>
> I'm going to knock up a menu system tonight .Here's a rough overview of how
> I see it from an api view.
> This encapsulates the info I'll encode in a message
>
> MenuId MenuCreateMsg(String name)
>
> // do you want text or icons or both?
> ItemId MenuAddItemText(MenuId menuid, String text, icon)
>
> ItemId MenuAddSubMenu(MenuId menuid, MenuId submenu, icon)
>
> MenuShow(MenuId menuid)
>
> Then there will be a response message which return the MenuId + ItemId of
> the item selected.
>
> How does this sound?
>
> Cheers
>
> Garth
>