Debug the function position() for Mobile Device