My First Android App Now Available: Discogs Scan

After last weeks review of Android in Action, it was inevitable: I just released my first Android app: Discogs Scan. Discogs Scan is a small Android 2.1+ application that allows you to quickly scan the barcodes of all your CDs and records and add it to your discogs.com collection.

It’s my first endeavor into mobile apps and I immediately got hit by some device specific bugs. After a round of debugging I think the application is now fairly stable and ready for general usage.

Discogs Scan

The application itself allows you to quickly scan all your CDs and vinyl. It uses the discogs.com database to find all the details. Once everything is scanned, you can upload it to your personal discogs.com collection, where you can organize it as you see fit.

In my own experiments it has a hitrate of about 85%, which I thought was pretty impressive. Depending on how rare the items in your music collection are, your mileage may vary.

Android Development

In general, I found Android to be very well documented. Even though things tend to move quickly.

Android does carry some of the Java overhead with it. For instance, multi-threaded code can be a hassle because anonymous inner classes aren’t exactly easy on the eye. The Eclipse plugin does help with a few things (like managing resource id’s)

There were a few exceptions were the documentation failed, most notably the “strict mode”. This mode exists to force you to make your code behave better (for instance, it forces you to do all operations it considers resource intensive in threads). According to the official documentation, it’s a development only feature, but it turns out it is enabled on production devices such as the latest Samsung Galaxy’s.

The developer’s console on the Play store was instrumental in debugging this. It gathers crash information. Definitely a big plus to have this available.

Conclusion

I’m definitely planning a few more Android apps. Most of which will be more general and less niche than this one.

But in the meantime, try out Discogs Scan and let me know what you think.