Android Developer

Los Angeles Freelance Developer

Android Developer header image 4

Android Architecture: Structuring Network Calls, Part 2

September 30th, 2012 · 8 Comments · Android, OOP

What is the Command Pattern? Even if you don’t know what it is you’ve most likely implemented it before. It’s a pretty simple concept: you encapsulate a behavior that can be executed at a later time. Does that ring a bell? In Android, there are two very common types of command objects that are used: […]

[


Android Architecture: Structuring Network Calls, Part 1

September 29th, 2012 · 2 Comments · Android, OOP

Way back in my very first post I mentioned I would cover structuring http request calls. Not quite a year later and I’m finally getting around to writing the post. YaY! Down to business I see 3 basic parts to the request call: making it asynchronous, requesting the payload, and parsing the payload into a […]

[


Android Architecture: Part 10, The Activity Revisited

July 9th, 2012 · 44 Comments · Android, OOP

Back in Part 4 of the series I mentioned that the Activity naturally functions like a controller and not a View. If you examine the hook methods (like onPause, onResume, etc) and how the Activity is created it becomes clear that the Activity isn’t a View. Views should be dumb. Controllers are smart and handle […]

[


Android: Starting a New Project

April 11th, 2012 · 9 Comments · Android, OOP, Styling

Tomorrow I’m grateful to start new project and am filled with all the excitement that comes with it. I get to solve new architectural challenges, test new ideas, work with new designs, build new components, and work with new team members.

[


Event Dispatching: Sending Messages

March 23rd, 2012 · 14 Comments · Android, OOP

This post will be discussing how to get objects to communicate with each other. If we look at a standard MVC diagram we see 2 types of arrows on the diagram: solid arrows and dotted arrows. The solid arrows represent method invocations. For instance, foo.setBar(4) would be a method invocation. The dotted lines represent Events.  […]

[