IntoMobile

Breaking news, information, and analysis on the latest mobile phones and mobile technology

Open NavigationOpen Search
  • Home
  • Platforms
    • iOS / iPhone OS
    • Android
    • Windows Phone
    • BlackBerry OS
  • Hardware
    • New Hardware
    • Tablets
    • Reviews
    • Rumors
  • Carriers
    • AT&T
    • Sprint
    • T-Mobile
    • Verizon
  • Manufacturers
    • Apple
    • Samsung
    • HTC
    • LG
    • Motorola
  • Best VPNs
  • Best AI Tools

Cool Android Hack of the Day: Garage Door Opener

November 16, 2008 by James Falconer - 14 Comments

Share on Twitter Share on Facebook ( 0 shares )

Adding to the growing list of Android hacks is a new garage door opener from Brad Fitzpatrick. The hack does exactly what you think it does… opens your garage door! I would do it no justice trying to explain what he did, so here it is in his words:

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).

Now the really cool thing about this (to me at least) is if you have the know-how and the patience, you can do this yourself! Brad has released the source code for his nifty garage door opener. Gotta love open source!

[Via: AndroidGuys]

Share on Twitter Share on Facebook ( 0 shares )

Back to top ▴

Back to top ▴

Follow IntoMobile

38k
36k
4k
13k
12k

Most Recent Posts

  • Samsung may launch two wide-format foldables in 2027, and that’s a big deal
  • HMD’s next flip phone might actually run Android
  • Poco M8x 5G is coming to India, and it looks like a budget 5G phone worth watching
  • iQOO Neo 11 Ultra is coming, and the specs are already turning heads
  • iQOO Buds first look: a new TWS is coming on August 20th

Get Updates Via E-Mail

  • This field is for validation purposes and should be left unchanged.

About IntoMobile

  • About IntoMobile
  • Contact IntoMobile
  • Send us News Tips
  • Privacy Policy

Social Links

  • IntoMobile on Facebook
  • IntoMobile on Twitter
  • IntoMobile on Google+
  • IntoMobile on YouTube

Copyright © 2006-2021 IntoMobile. All rights reserved.