Patent ID: 8415572

Claim:
An electronic device comprising: a main body comprising: a front cover defining an elongated pocket; a conducting sheet attached to the inner sidewall of the elongated pocket, the length of the conducting sheet being parallel to that of the elongated pocket; a conducting core disposed in the elongated pocket and located at one end of the elongated pocket; and a monitoring module electrically connected with the conducting sheet and the conducting core and configured for measuring a resistance between the conducting sheet and the conducting core, and transforming a changing of the resistance into a control signal; a processing module configured to control the electronic device to execute a predetermined function according to the control signal; and a stylus comprising: an outer section comprising a tip in contact with the conducting core and a first tube slidably received in the elongated pocket, the first tube defining a stripped slot therein along the length of the first tube; a conducting layer formed on the stripped slot, the conducting layer being electrically connected with the tip; and an inner section comprising a second tube sleeved by the first tube and a protrusion, the protrusion protruding out of the second tube and extending through the stripped slot of the first tube for electrically and slidably contacting the conducting layer and the conducting sheet; wherein the conducting sheet, the protrusion, the conducting layer, the tip, the conducting core, and the monitoring module forms an electrical loop.