1) and 2) are hardware dependent. If you need something with higher acceleration range than standard handsets, you'd probably have to have it built. Accelerometer - chips are made to many different specs, but generally, the higher sensitivity, the lower the range. Remember also that there can be both "Acceleration" and "Gravity" sensors on android devices, one measures zero acceleration when lying still, one measures 1G (~ +9.81m/s^2) when lying still. The update-speed is also determined by the specific device. 3) An accelerometer is probably not a good way to detect a "golf-swing" - at least not alone. Acc-sensors measure linear accelerations. If you combine it with a gyroscope-sensor you could test for a simultaneous "rotation and high-G" type of movement. Otherwise it would be difficult to determine if the user is merely shaking his phone... Also be aware that even a just couple of G's are quite a bit! - Android devices are really meant to be weaponized - not yet at least...
Cheers Christian On Monday, July 23, 2012 7:35:28 PM UTC+2, JAM wrote: > > Hello all. > > Hope someone can help. > > 1) Is there a way to have a program read higher than 1-2gs? I had a beta > version built and it doesn't seem to have the ability to read more than 1g > on some of the phones I've tested it on. > > 2) Is there a way to get the phone to receive more samples than the > 20-40ms it seems to do when set to "fastest"? I need a more accurate > profile of the accelerometer output than I'm getting. > > 3) If I gave someone a specific profile of something I'd like the > accelerometer to find (a spike that gets above 2g and stays there for a > duration of 5ms or longer -- like a golf swing), could it be programed to > "see" such an incident consistantly? > > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en