Can you get the height that you are holding the phone?

relative to where it was before,

so like holding the phone up and then moving it back down to normal playing level and detecting that that happened?

or is magnitude with the accelerometer the best i could do

You can get the change in height from this physics mechanics equation :

Displacement= 1/2(acceleration)^2 (assuming device is at rest, zero initial velocity)

Because distance and acceleration are vector quantities you can determine the displacement in the a specific direction as well. For example get displacement in x direction:

Displacement in x direction = 1/2(acceleration in x direction)^2 (zero initial velocity)

@TimBorquez:
hi…i’m trying to do the same thing…tracking smartphone height while user holding it…cn anyone help me with unity tutorial…or if you have link that similar…thank you