A non-transitory computer-readable storage medium which stores a program for causing a communication apparatus to perform a method, the communication apparatus having a plurality of display modes including a single-display mode of displaying a single content on a single screen of a display unit, and a multi-display mode of simultaneously displaying a plurality of contents on the single screen of the display unit, the method comprising:
- communicating with an external apparatus via a first communication unit;
- communicating with the external apparatus via a second communication unit, a communication speed of the second communication unit being less than a communication speed of the first communication unit;
- acquiring a plurality of contents from a recording medium;
- and
- controlling the first communication unit to start establishing of communication with the external apparatus in a case where the second communication unit shares a communication parameter with the external apparatus, wherein the communication parameter is used by the first communication unit for establishing the communication with the external apparatus;
- determining a display mode in a case where the second communication unit shares the communication parameter with the external apparatus;
- wherein, if a display mode in a case where the second communication unit shares the communication parameter with the external apparatus is the multi-display mode, the plurality of contents recorded in the recording medium is displayed on the single screen of the display unit and a selection of a transmission target and an instruction for starting transmission are received after establishment of communication with the external apparatus by the first communication unit, and
- wherein, if a display mode in a case where the second communication unit shares the communication parameter with the external apparatus is the single-display mode, control is performed in such a manner that the communication apparatus transmits the content displayed in the single-display mode to the external apparatus via the communication unit without receiving a selection of the transmission target and an instruction for starting transmission after the establishment of the communication with the external apparatus by the first communication unit.