News for hackers. Stuff that matters.
Re:Google's Android Update Alliance Is Already Dead by X-Istence on Friday December 16, 2011 @03:48PM (#3362259)
I've written code for this before, I have it over at Github:

https://gist.github.com/fd98541dd158d7e7be9e

So if anyone wants a full example they can run and play with themselves. Your example stuff looks like it was pulled from the code I wrote above...

Re:Google's Android Update Alliance Is Already Dead by calloc on Friday December 16, 2011 @03:50PM (#3362268)
Yes, I found your stuff through a Stackoverflow post you created.