Patent ID: 8351201

Claim:
A latching mechanism for a portable electronic device, comprising: a housing including a base section and a latching section, the base section defining an interlocking hole, the latching section defining a latching hole; a pressing assembly including a button and at least one first elastic member, the button and the at least one first elastic member being assembled in the housing, the button aligning with the interlocking hole and for being pressed through the interlocking hole; a latching assembly including a slider and at least one second elastic member, the slider defining a through hole and forming a hook wall, the slider and the at least one second member being assembled in the housing, the through hole and the latching hole being in communication, and the slider being slidable along a first direction; a cover having a hook formed thereon; wherein when the button is pressed and moves along a second direction perpendicular with the first direction, and the at least one first elastic member is compressed, the button causes the slider to slide along the first direction, and the at least one second elastic member is compressed, the hook passes through the latching hole and the through hole, and after the button is released, the at least one second elastic member extends and pushes the slider to return along the first direction, for latching the hook wall of the slider with the hook of the cover.