Patent ID: 8256804

Claim:
An electronic apparatus, comprising: a first body; a second body pivotally attached on the first body for covering the first body; and a latching device for locking the second body on the first body when the second body covers the first body, the latching device comprising: a locking member rotatably attached on the first body, the locking member comprising an inclined surface; a hook disposed on the second body and capable of hooking on the locking member for locking the second body on the first body; a driving subassembly rotatably connecting with the locking member and slidably disposed on the first body; and a flexible member arranged between the driving subassembly and the first body to provide an elastic force to the driving subassembly; wherein when the second body is pressed to bring the hook to contact the inclined surface of the locking member, the hook pushes the locking member to rotate, causing the hook to move downwards and the driving subassembly to move, the flexible member is compressed by the driving subassembly; when the second body is released, the driving subassembly moves back by the elastic force of the flexible member, causing the locking member to rotate back, the locking member is locked on the hook; wherein when the driving subassembly is driven by the external force, the locking member rotates, causing the hook to be released from the locking member; wherein the transmission subassembly comprises a driving portion, the locking member defines an arc-shaped receiving slot for receiving the driving portion.