i want to enhance the functionality of accelerometer example given by plusminus
a simple view where initially the values [0,0,0] are displayed (as given in the tutorial of plusminus)
Consider the situation:
suppose initially the mobile device is kept on a table. so x,y,z will be [0,-1,0]. then if someone throws the phone so that it is falling and so x,y,z becomes [0,0,0].
so i want to make a UI whre initially it will show [0,-1,0] and then on clicking a button it simulates as if it the device falling so the x,y,z change to [0,0,0] and displays a message like "HEP I AM FALLING"
but i cant find any method which will allow me to set the initial x,y,z values to [0,-1,0].
is this possible......pls help or provide idea how to proceed
Thanks




