ubikapps.net

Mobile Development Blog

Entries Tagged ‘JSON’

And for my next app: Paperless List

Paperless List is a shopping list application powered by the Tesco API. It is for UK Android devices only. Tesco products can be searched for or scanned using the Barcode scanner already in the Market. There are other Tesco shopping list apps in the Android Market but I started development on mine before these appeared. [...]

Reader Widgets V2.7 in the Market

I have just uploaded a small update to Reader Widgets Pro/Free to the Market. Here’s the changelog: Updated authentication with Google Reader API ahead of some changes Google will be making in April Unread count JSON response parsing now performed with jackson for slight speed increase Removed some legacy code to reduce app size Google [...]

Benchmarking Protobuf vs JSON parsing in Android

I have a bit of an addiction to benchmarking. It must be because I’m a PC gamer (yes we still exist). Actually it’s probably more of an addiction to tweaking every last ounce of performance out of something. Recently I learned how to get to the protocol buffers version of the Google Reader API. Protocol [...]

Benchmarking JSON vs XML Parsing in Android revisited

In my previous post on this I mentioned that parsing the Google Reader XML (Atom) feed with SAX was faster than parsing the JSON stream with json-simple. However, this is no longer the case thanks to jackson which is used in the Reader Widgets from version 2.3. On my HTC G1 running Android 1.6 (donut) [...]

Reader Widgets V2.3 out

I have just uploaded updates to both Reader Widget versions. Here is the changelog: Migrated to JSON stream for headlines using Jackson. This speeds up updates for the large widget by about 25% and uses 25% less data. Webview layout tweaks for landscape on larger screened devices like the Droid Radio buttons on last config [...]

Reader Widget Small V1.5 out

I have uploaded a new version of the free widget to the Market and the usual place. Here’s the changelog: Manual login option for users with Google Reader accounts separate from their Android account. Automatic login is still there for everyone else (and selected by default). Text ads from Adfonic in the configuration screens Handling [...]

Benchmarking JSON vs XML Parsing in Android

I finally found a JSON version of the Google Reader Atom reading list so I decided to see which is faster for Android. The JSON responses are about 25% smaller so they should be faster to download and process overall. For benchmarking I used my G1 as it has the least memory out of my [...]