Patent ID: 8068813

Claim:
A communication apparatus capable of communicating with an external device by using a wired communicating unit or a wireless communicating unit, the communication apparatus comprising: a first determination unit configured to determine whether the communication apparatus is connected to the external device via a cable; a first acquisition unit configured to acquire parameters for wireless communication with the external device from the external device by wired communication, when the first determination unit determines that the communication apparatus is connected to the external device via the cable; a search unit configured to search for an external device by wireless communication, when the first determination unit determines that the communication apparatus is not connected to the external device via the cable; a display unit configured to display a selection screen for selecting a type of external device including at least one of a digital camera and a printer to be searched by the search unit, when the first determination unit determines that the communication apparatus is not connected to the external device via the cable; a selection receiving unit configured to receive the selected type of external device; a second acquisition unit configured to acquire parameters for wireless communication from the searched external device; a notifying unit configured to provide a notification urging a user to operate on the external device, the notification being provided in a different form based on the result of determination by the first determination unit and based on the selection received by the selection receiving unit, wherein the operation on the external device is for the first or second acquiring unit to acquire the parameters, and a transmission unit configured to transmit a request for acquiring the parameters to the external device by the wired communication, wherein the first acquisition unit is configured to acquire the parameters from the external device, to which the request is transmitted, and wherein the request includes an instruction for instructing the external device to activate an application for setting the parameters for the wireless communication.