Here is some simple psuedo-code for my game that moves a ball by tilting the phone (works for me on Android by exporting through CocoonJS):
If Touch {alpha + beta + gamma)orientations NOT = 0,
--- Sprite Set 8Direction Vector X to Touch.AccelerationYWithG * 32
--- Sprite Set 8Direction Vector Y to Touch.AccelerationXWithG * 32
(Sprite has 8Direction Behavior attached to it)
Note that X and Y values are interchanged - this is done by purpose as my game is in Landscape mode and I believe the values that are being passed are assuming Portrait mode. The value 32 could be replaced by any other number - the higher the number the faster the response speed.
Please let me know if this works for you, or if you have a better idea.