Joe Beuckman 2011

Uncategorized

Connect Android to Drupal’s JSON Server Module

The Android SDK comes with a SampleSyncAdapter project for implementing a synced connection to a cloud-type service. The class NetworkUtilities takes care of making the actual HTTP requests, and generally has to be tailored to work with a particular cloud service (apart from the sample server app included with the SDK).

Here is a base class that handles the session-based authentication for Drupal’s JSON Server module. Extend this class to implement the calls for a particular service model via Drupal / JSON Server.

Real Home Grown Lumber

I finally got around to building a log sled - one of the main reasons for having a bandsaw. Log sled allows me to firmly hold the log in position and slide straight along the mitre gauge slot.

One ViewController for Both iOS Devices and Orientations

Building a view to support iPad and iPhone is a little clunky. Apple suggests that separate UIViewController’s be built, one for each device. But the vast majority of ViewControllers will want to implement the same logic whether being run on iPad or iPhone. For instance, say my view shows an image and presents a text box and a button. The ViewController needs to respond to the button by doing something with the text in the text box. This functionality is exactly the same no matter the device.

Bathroom Shelf

Lauren asked me to copy a shelf seen at West Elm for our bathroom. screen-shot-2011-03-10-at-95147-pm I fabricated the five pieces of oak and made this type of steel hanger to be self-contained and keep close to the wall.

Tool Shelf

Some great christmas presents need a home close to my electronics bench in the laundry room. I justified my bandsaw and planer purchases by reasoning that I would be able to build useful things from cheap pine lumber. This shelf verifies the possibility.

Prototyping Station

I should have built this 20 years ago. Slanty enclosure is from Gateway Electronics. Switching 5 & +/-12v power supply for now and plenty of space for switches/indicators and I-O recepticles.

Cats Only

The door between basement ping pong room and basement laundry/toilet room needed to allow for cats' access to the litter box. Lauren had the perfect idea: we would make a cat-shaped hole that would allow cats but no dog through.