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.
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.
Lauren asked me to copy a shelf seen at West Elm for our bathroom.
I fabricated the five pieces of oak and made this type of steel hanger to be self-contained and keep close to the wall.
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.
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.
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.