Monthly Archive for Januar, 2011

On the accelerometer of the HTC Desire

It has been a looong time since I wrote my last blog entry, please excuse me. I haven’t been busy or anything, it was just lazyness. Since I recently got one _real_ comment among all the spam saying, it would be nice if I wrote in english, I will do that from now on.

So I started diving into Android development last autumn and today, just for fun, I tried to use some sensors included in my phone. (HTC Desire running Android 2.3.1)

My idea was to use the accelerometer along with the orientation measurement to measure both the distance the phone was moved and also it’s trajectory. Both values, of course, relative to the starting point of the motion.
Continue reading ‘On the accelerometer of the HTC Desire’