Hi,
in my app I use acceleration values. I have no problem reading and using them.
But now I want to read maximum acceleration values and store them. And if a new value which is larger pops up the old one gets updated. Just like a max needle in one of those acceleration meter apps.
I kind of have no idea how i'm supposed to do that. I always end up recieving the current values the accelerometer is recieving.
If somebody could show me how to do this, that would be really great. I think I have tried everything and have gotten nowhere.
Thanks alot!
in my app I use acceleration values. I have no problem reading and using them.
But now I want to read maximum acceleration values and store them. And if a new value which is larger pops up the old one gets updated. Just like a max needle in one of those acceleration meter apps.
I kind of have no idea how i'm supposed to do that. I always end up recieving the current values the accelerometer is recieving.
If somebody could show me how to do this, that would be really great. I think I have tried everything and have gotten nowhere.
Thanks alot!