Google I / O 2010 – Android Application Development Android REST client Dobjanschi Virgilio 301 This session will present architectural considerations for the development of RESTful applications on the Android platform. It focuses on design patterns, platform integration and performance issues specific to the Android platform. For all I / O 2010 sessions can be found at code.google.com
27/12/2011 at 6:39 pm Permalink
Guys… It’s true that there is no use for this ” hyper-redundant nonsense to get a simple JSON result back and parse it”.
But if you are actually writing a two-way rest app, using put, post, delete and caching, things become a lot more complicated. Unless you are willing to sacrifice performance.
Just saying.
27/12/2011 at 6:49 pm Permalink
@russellperry Well Separation of role always comes with a cost. Android System design also makes these worse.. you have content provider but need to execute the operation in a separate Service with a separate thread.
27/12/2011 at 6:58 pm Permalink
@pushingprimitives
if everything fails: google for android-developing-RESTful-android-apps.pdf
27/12/2011 at 7:54 pm Permalink
Thanks alot , is there any sample code that we can look at ?
27/12/2011 at 8:42 pm Permalink
I’m sorry, but this is Google’s engineering culture run amok. REST architecture should never be this complicated. I get mobile small footprint, CPU management, radio, etc. There’s still no excuse for this 5-layered, hyper-redundant nonsense to get a simple JSON result back and parse it. This tendency to over-complicate simple operations is all over the Android API, and seems to be the result of a bunch of PhDs writing APIs to satisfy CS theory rather than solve simple problems in a simple manner
27/12/2011 at 9:11 pm Permalink
@GrEEnOneMK Exactly. Look, all you have to do is implement IUnknown, relate the ProdID in the registry to the GUID of your component…OK, let me back up. First you need to…no wait. See, it’s very simple. No, wrong hive in the registry! Not HKCU – HKLM, silly. Can’t believe you thought it was HKCU, lol!
They also apparently called in the whole Windows Installer team to help with the architecture as well. This is complicated stuff. I mean you have to call a server and parse the result!
27/12/2011 at 9:37 pm Permalink
Cool. Rest Client Applications.
27/12/2011 at 10:36 pm Permalink
@ontotheos He does mentioned that you can perfectly come up with your own pattern if you understand the principles behind them. So, this talk is more of an overview on good patterns for RESTful apps than a How-To tutorial. And actually yes, I also found that a combination of the last two could make a better approach on the subject.
27/12/2011 at 11:26 pm Permalink
I would call them Android strategies for REST service, instead of architecture, also i think he failed mention that this approaches can be combined to have a better structured, specially the last two. But +1 for all the tips we should call this “The Dobjanschi Approach”
27/12/2011 at 11:52 pm Permalink
@FernandoEscher87 no it doesn’t it does not goes deep enough on the SyncAdapter
28/12/2011 at 12:30 am Permalink
Pretty useful! Saves tons of time trying to solve the server sync problem by yourself from scratch!
28/12/2011 at 1:00 am Permalink
they could have given him some water. this is rough to listen to
28/12/2011 at 1:01 am Permalink
google.com/events/io/2010/sessions/developing-RESTful-android-apps.html
28/12/2011 at 1:32 am Permalink
@masiminder That link seems rather broken
28/12/2011 at 2:11 am Permalink
@twerdster hehe
28/12/2011 at 2:50 am Permalink
Here’s the presentation guys. now let’s REST
dl.google.com/googleio/2010/android-developing-RESTful-android-apps.pdf
28/12/2011 at 3:25 am Permalink
Now that I have watched this I have a great feeling to change the architecture of my app that is almost about complete….Thanks a lot..
28/12/2011 at 4:12 am Permalink
@twerdster Damn, once it is heard it cannot be unheard…
28/12/2011 at 5:03 am Permalink
he does seem nervous, but I think it’s more of a language thing. I don’t think English is his first language I detect a faint accent. He sounds like he’s European.
28/12/2011 at 5:23 am Permalink
Thank you very much for this info…
28/12/2011 at 5:49 am Permalink
Great info Virgil! I’ve been searching the web for android REST examples and am so psyched to actually find a video from the guy that writes the apps!
28/12/2011 at 6:17 am Permalink
He is a programmer, not a presenter. I understand him
28/12/2011 at 7:08 am Permalink
He sounds like Yoda
28/12/2011 at 7:35 am Permalink
Very good presentation and very informative, thanks! My only criticism is the white text on the white powerpoint presentation. We can’t see the text!
28/12/2011 at 8:02 am Permalink
Very good presentation and very informative, thanks! My only criticism is the white next on the white powerpoint presentation. We can’t see the text!