+1 on the concept of an application being able to adjust the accelerometer range. This is, going to be a bit tricky though - should the range be tweaked only while it is foreground? How does one ensure that such a range change won't break other apps using the sensor?
-Bruce On Wednesday, August 29, 2012 1:28:15 AM UTC-7, Walter Jenny wrote: > > I want to measure shocks of more than a few g. For example, the ST > Microelectronics LSM330DLC accelerometer built into the Galaxy has a > dynamically selectable range of up to +-16g, according to the datasheet. > > My understanding is that the default for Android accelerometers is to > operate in a predefined range of +-2g. How can I programmatically change > this range via a public API? There is a getMaximumRange() method, but no > corresponding setMaximumRange() method. > > Thank you > > -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel