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:········