|
Share |
Android Hack Opens Garage Door
Posted on Nov 16, 08 08:47 PM PDT

It is interesting to see iPhone apps work with everyday household items, and now we have Android hacks that are equally zany as well. Here is the garage door opener from Brad Fitzpatrick, which does exactly what it was named after.
I got it all working. I now have an Android Activity (GarageDoorActivity) which interacts with an Android Service I wrote (InRangeService), letting me start and stop the service’s wifi scanning task. The service gets the system WifiManager, holds a WifiLock to keep the radio active, and then does a Wifi scan every couple seconds, looking for my house. When my house is in range, it does the magic HTTP request to my garage door opener’s webserver (HMAC-signed timestamped URL, for non-replayability/forgeability if sniffed) and my garage door opens. Complete with a bunch of fun Toast notifications (like Growl) and Android Notifications (both persistent ongoing notifications for background scanning, and one-time notifications for things like the garage door actually opening).
Brad is kind enough to release the source code - three cheers for open source!
Source: Link | Add Comment | Tags:
Your Comments
Comments will be published immediately if you use a Disqus, Facebook or Twitter account. Anonymous comments will be moderated.
Featured Posts
Top Stories
Google Buzz unveiled
NVIDIA Optimus achieves goal of seamless GPU transition
North Paw anklet points to the north
Hap.tickle Greeting dress
Google flexes muscles against social networks
RFID record player
Sportpong - game while you sweat
PFU Systems prototype dual display kiosk
Pregnancy simulator to prepare future nurses




