Patent attributes
A method for controlling the portable device may include detecting that the second body or the third body is folded to the first body and capturing an image by at least one of a first camera unit located in the second body and a second camera unit located in the third body. In this case, the first camera unit may capture an image of a first direction, and the second camera unit may capture an image of a second direction. In this case, the image may be captured based on a first capturing mode when the portable device is in an unfolded state, the image may be captured based on a second capturing mode when the portable device is in a first folded state, and the image may be captured based on a third capturing mode when the portable device is in a second folded state.