Haven't tried it, but the following has source code available:
Bites
As a slight digression...
My general impression of developing for Android (having been working at it for some months) is that it's quite a different experience from Desktop app development.
For example, one of the things one must contend with is that the system keeps trying to elimintate running processes associated with 3rd party developers -- so a certain amount of development effort goes in to trying to cope with that. As I understand it, this is in the name of battery life and responsiveness
Another example is that non-system apps are restricted in what they can do -- and I've noticed that certain things that used to be possible are no longer possible (unless the app is a system app).
It is a different world, but as I understand it, other mobile platforms aren't really better off.
I find it's very easy to wonder why a particular app doesn't do X -- then when I go to look into how X might be accomplished, it's not unusual to find that it's not possible, it's really hard, or something similar...