ushahidi/Ushahidi_Android — pull request #101 by mrl-gt (2012-11-08 05:36:43+00:00)
Title: initial Gson integration

Changed `ApiUtils.updateDomain()` and `ReportsHttpClient.PostFileUpload()` to use Gson. Since these functions are a bit simple, `CategoriesApiUtil` is also changed to using Gson to demonstrate more complicated usage. One thing to note is that since Gson uses reflection to deserialize to object, field names must map to json field names. A common practice before releasing Android apk is to use Proguard to shrink the classes. Special rules must be written for these classes to be left out.