摘要 |
Provided are a method and apparatus for connecting an external device, the method comprising: upon detection of a connection attempt of an external device, obtaining description information of the external device (S101); determining, according to the description information of the external device, an external keyboard device type of the external device (S102); and completing, according to the external keyboard device type, a device declaration and a connection to the external device (S103). When a device such as a smart terminal is connected with an external device, if a user needs to perform an input operation, the input operation can be determined, according to an external keyboard device type, to be performed by using a soft keyboard of an input method or by the external device, thereby ensuring that the user can normally perform an input operation, and accordingly improving user experience. |