A mobile device (100, 100a) comprising a stylus pen, the mobile device (100, 100a) comprising: a sensing unit configured to determine whether the stylus pen is in proximity to the mobile device (100, 100a); 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 (100, 100a) 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 (100, 100a) by touching a touchscreen of the mobile device (100, 100a), wherein in response to the sensing unit determining that the stylus pen is not in proximity to the mobile device (100, 100a), the communication unit is configured to generate a wireless communication channel between the mobile device (100, 100a) 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 (100, 100a), 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 (100, 100a); 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 (100, 100a) 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 (100, 100a) by touching a touchscreen of the mobile device (100, 100a), wherein in response to the sensing unit determining that the stylus pen is not in proximity to the mobile device (100, 100a), the communication unit is configured to generate a wireless communication channel between the mobile device (100, 100a) 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 (100, 100a), 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 (100, 100a) 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 (100, 100a) by touching a touchscreen of the mobile device (100, 100a), wherein in response to the sensing unit determining that the stylus pen is not in proximity to the mobile device (100, 100a), the communication unit is configured to generate a wireless communication channel between the mobile device (100, 100a) 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 (100, 100a), the communication unit is configured to terminate the wireless communication channel and the controller is configured to operate in the second control mode.