Here’s some of the latest Android news, along with my take on what’s happening. I’ve missed this series for the past month or so, but so much has happened lately I thought it’s worth taking the time to write about some of the big things this week.
A few weeks ago I did something which, in retrospect, was probably rather stupid. But it was surprisingly successful while it lasted. As I wrote earlier, I’ve been using Google+ since the day after it was launched. I myself received an invite from a stranger who was offering invites publicly. For this reason, I’ve been keen to share invites with anyone else who’s looking for one. I put up a post on this blog offering free invites, and got a huge response from the Android community. In fact, there were so many responses that it overwhelmed my email after a few days. There’s no way I could have kept up with the demand.
Rather than stop accepting requests altogether, I wanted to make it easier to handle the load. (NB: At this stage there was no limit to the number of Google+ invites you could send.) My first thought, trying to work out a faster way to do things, was “hey, is there an Android app for this?” A quick search turned up a negative. No Android apps offering Google+ invites. So, why not make one? It seemed a pretty good idea, so I spent that afternoon writing a simple app that accepted an email address, and a description of the request. The data was sent to a PHP script on my server, so I could go through and invite the email addresses stored in a database.
Actually, it’s not that simple to write an Android app that POSTs data asynchronously to a server, checks the response, and handles errors gracefully. I re-used some classes from another unreleased project, but it was still a bigger job than I expected. But the actual coding is an issue for another day. The most interesting part came when I released the app on the Android Market.