Android Developer

Los Angeles Freelance Developer

Android Developer header image 4

Android Architecture: Structuring Network Calls, Part 3

October 7th, 2012 · 10 Comments · Android, OOP

So far we’ve talked about some theory and OOP design principles and making our request asynchronous. In this post we’re going to discuss what was going on inside of the AsyncTask to make the network request and parse the data. Much like most of my posts, I won’t be discussing how to make a network […]

[Read more →]

Tags:·············

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: […]

[Read more →]

Tags:·········

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 […]

[Read more →]

Tags:········

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 […]

[Read more →]

Tags:·······

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.

[Read more →]

Tags:·········