News for hackers. Stuff that matters.
Re:Building quality software for Android - A post-mortem for... by loeschg on Tuesday June 05, 2012 @11:01AM (#4068893)
An application I'm currently building (shameless plug - www.quaffic.com) will definitely benefit from this post. If nothing else, I feel affirmed that we're on the right track. From what you're saying, the value of ACRA is huge. That's my big takeaway at this point. I wondered what the normal process was for getting crash reports from users.

Also, what did you end up doing to alleviate your JSONObject problem? JSONSmart?

Re:Building quality software for Android - A post-mortem for... by buerkle on Tuesday June 05, 2012 @12:31PM (#4069331)
The article said they use Jackson for parsing json. A great library by the way.
Re:Building quality software for Android - A post-mortem for... by biafra on Tuesday June 05, 2012 @03:30PM (#4070375)
I use Google GSON on Android. Also a great library for serializing and deserializing JSON. I did not yet try the streaming api.
Re:Building quality software for Android - A post-mortem for... by loeschg on Tuesday June 05, 2012 @12:55PM (#4069462)
Missed that. Thanks. I'll tuck that little tidbit away for later use.
Re:Building quality software for Android - A post-mortem for... by triathlete on Tuesday June 05, 2012 @01:12PM (#4069580)
Parsing json is a pain in android. You have to do so may things to do what should be a simple straightforward thing. One article mentioned that library but i never looked at it.
Re:Building quality software for Android - A post-mortem for... by njern on Tuesday June 05, 2012 @01:41PM (#4069743)
I can definitely recommend Jackson. Performance is stellar and it's easy to use.

It does make your APK a bit bigger (in our case, about 20% of the APK size comes from Jackson) so if you're only going to be parsing very little JSON, you can still make do with JSONObject.

Re:Building quality software for Android - A post-mortem for... by maatanin on Tuesday June 05, 2012 @02:38PM (#4070121)
Another neat library is JSON Simple if you looked for SAX style json parsing.

http://code.google.com/p/json-simple/