http://www.ruf.rice.edu/~mobile/publications/ubicomp07banerjee.pdf.