A mobile device comprising a stylus pen , the mobile device comprising: a sensing unit configured to determine whether the stylus pen is in proximity to the mobile device ; a communication unit configured to receive a control signal from the stylus pen ; and a controller configured to operate in a first control mode in which the stylus pen may be used for remotely controlling at least one operation of an application being executed on the mobile device via the control signal, or in a second control mode in which the stylus pen may be used for controlling at least one operation of an application being executed on the mobile device by touching a touchscreen of the mobile device , wherein in response to the sensing unit determining that the stylus pen is not in proximity to the mobile device , the communication unit is configured to generate a wireless communication channel between the mobile device and the stylus pen and the controller is configured to operate in the first control mode, and in response to the sensing unit determining that the stylus pen is in proximity to the mobile device , the communication unit is configured to terminate the wireless communication channel and the controller is configured to operate in the second control mode. a sensing unit configured to determine whether the stylus pen is in proximity to the mobile device ; a communication unit configured to receive a control signal from the stylus pen ; and a controller configured to operate in a first control mode in which the stylus pen may be used for remotely controlling at least one operation of an application being executed on the mobile device via the control signal, or in a second control mode in which the stylus pen may be used for controlling at least one operation of an application being executed on the mobile device by touching a touchscreen of the mobile device , wherein in response to the sensing unit determining that the stylus pen is not in proximity to the mobile device , the communication unit is configured to generate a wireless communication channel between the mobile device and the stylus pen and the controller is configured to operate in the first control mode, and in response to the sensing unit determining that the stylus pen is in proximity to the mobile device , the communication unit is configured to terminate the wireless communication channel and the controller is configured to operate in the second control mode. in a first control mode in which the stylus pen may be used for remotely controlling at least one operation of an application being executed on the mobile device via the control signal, or in a second control mode in which the stylus pen may be used for controlling at least one operation of an application being executed on the mobile device by touching a touchscreen of the mobile device , wherein in response to the sensing unit determining that the stylus pen is not in proximity to the mobile device , the communication unit is configured to generate a wireless communication channel between the mobile device and the stylus pen and the controller is configured to operate in the first control mode, and in response to the sensing unit determining that the stylus pen is in proximity to the mobile device , the communication unit is configured to terminate the wireless communication channel and the controller is configured to operate in the second control mode. <EOS>