Most recent activity
-
- 7 comments
- 1,232 views
-
-
-
-
Many thanks for the replies. @Ganblejs put me on the right track with listeners. Here's the working code...
var menu = { "" : { "title" : " Menu Test" }, "Do Nothing" : function() {}, "Close Menu" : function() { E.showMenu(); Bangle.on('touch', screenTouch); } }; function screenTouch() { Bangle.removeListener("touch", screenTouch); E.showMenu(menu); } g.clear(); E.showMenu(menu);
-
How do you terminate events in Bangle 2? Here's the problem I'm having...
var menu = { "" : { "title" : " Menu Test" }, "Do Nothing" : function() {}, "Close Menu" : function() { E.showMenu(); } }; Bangle.on('touch', function(n,ev) { E.showMenu(menu); }); g.clear(); E.showMenu(menu);
After closing the menu there, a tap on the screen opens it again. However, if you tap where the "Close Menu" choice was, the menu promptly closes again. What's the best fix for this?
-
You can always buy a new watch if you drop it in the water, but the wrong UI will still be the wrong UI! :) These are different considerations. With being able to replace the battery or not being yet another consideration.
What I'd really love though would be the Bangle phone. You've started at the smallest end of the chain. So going upwards should be easier than how we got to the current horrible state of affairs. Desktop > laptop > phone and tablet > watch. Going in the other direction should result in something better, and all running Espruino, of course!
-
I've both the Bangle 1 and 2, and while I really like the 2's touchscreen, I've realised there is a case for buttons. Namely, when you're wearing gloves. So if there's ever to be a Bangle 3, it having buttons and a full touchscreen would be the way to go, I think. (Unless it'd accept voice-commands. :) )
Been an amateur programmer for more years than I care to remember, but still got the bug it seems. And I can't resist a device built around an interpreted language...