Patent ID: 8251409

Claim:
A cover latching mechanism for an electronic device, comprising: a housing defining an opening and having a latching member, a bottom board, a pair of positioning bars, and a pair of limiting members, the positioning bars respectively formed at two edges of the opening; and a cover slidably mounted with the housing, the cover having a cover body, a pair of locking portions formed on an inner surface of the cover body and respectively positioned at two ends of the cover body, and a guiding rail formed on the cover body, the guiding rail being slidably mounted with the latching member, and being positioned between the bottom board and the limiting members to prevent the guiding rail sliding apart from the housing; wherein when the cover is closed, the locking portions respectively latch the positioning bars to maintain the cover; and when the cover is opened, the locking portions are deflected and separated from the positioning bars, and the latching member engages with the guiding rail to maintain the cover being attached to the housing.