I spent a couple of days playing with the advanced features of the ADXL345 accelerometer.
I'm now able to detect single & double tap, activity, inactivity, free fall and I also implemented some kind of power saving.
You find a video example and all the programs at varesano.net -