Well a great weekend just passed with our team coming first place at the GDG – Boston Android Wear Hackathon!
The event kicked off on Friday evening with people presenting ideas and forming teams. Our team brainstormed some ideas and pulled in one of the google guys to throw some of them against him. We ended up with the decision to go with something to do with gestures, and we wanted the gestures to control our laptops. We decided to aim to have an application controlling our presentation!
By the end of the night we had the watch reporting the accelerometers and gyroscope coordinates and we had figured out a method to pass the events from the watch to the mac.
Saturday comes along and we kick off with a team breakfast at The Friendly Toast, got to love those Green Eggs and Ham! Plans and more coding happens until the Google offices opened at 9:30am.
Peter and I worked on the watch and figuring out the gestures, and what values to trigger each gesture on. We incorporated voice control – you say “presentation” to kick off your Power Point, “video” kicked off the video player etc. Dermot worked on a listener to detect the events and the corresponding scripts on the laptop to pass the instructions on!
We got everything done and thankfully we were one of the first to present – all developers present voted on everyone else.
So up we go and present away, people are really into the presentation and then we wrap it up. We got an immediate question about our demo of the app and it went down really well that people hadn’t even realized we were controlling the presentation with the app!
We designed the app to recognize gestures in two separate stages. When the first gesture is recognized, when the accelerometer’s coordinates pass a predefined threshold, the watch vibrates to alert the presenter that a gesture has started.
At this point the gesture must be completed within 1 second for the action to fire. If the presenter completes the gesture the watch vibrates again, otherwise the presenter can resume with any other gesture safe that they would not inadvertently change the slide.
We looked into other applications that could be integrated – pausing and playing videos, raising and lowering volume etc. We need to look into pairing the watch directly to the pc/laptop rather than having it pass the logs to the machine. Lots of possibilities!
Turned out there were some pretty serious prizes also!
- Samsung Galaxy Note 4 (giant phone!)
- Samsung Galaxy Gear S (smart watch)
- Samsung Gear VR (Virtual Reality Headset!)
Looking forward to getting hands on the VR headset and cranking out some more apps!