I think I am learning why is not working, my first idea is because mytextview is not been updating, so I check the code with a toast and:
PHP Code:
Context context = getApplicationContext();
Toast toast = Toast.makeText(context, String.valueOf(currentAcceleration), );
toast.show();
and is working, the first values are between 9.8-9.9 and I thought that was because is the gravity force, I think will be very interesting if you can explain a little bit more about
:
calibration
and why the example is not working 100%, cuold be a configuration of the phone?
best,