An electronic device includes: a housing; a display; and an extendable phased array antenna structure integrated with the housing and moveable relative to the housing between a retracted position and an extended position. The extendable phased array antenna structure comprises an array of antenna elements that are configured to form a beam in a determined direction.