Patent ID: 7718911

Claim:
An electronic device, comprising: a housing, having an opening receiving a card; a circuit board, disposed in the housing; a cover, disposed on the housing corresponding to the opening, wherein the cover comprises a shielding portion, a contact portion and a flexible portion, the contact portion extends into the housing, the shielding portion is outside the housing, the shielding portion connects to the contact portion, the flexible portion is disposed on an end of the shielding portion, and the shielding portion rotates between a first orientation and a second orientation by flexing the flexible portion to open and close the opening; and a switch, electrically connected to the circuit board, wherein the cover slides between a first position and a second position, the contact portion is moved with the cover and actuates the switch to control the circuit board, the cover covers the opening in the first position, and when the cover is slid from the first position to the second position, the switch triggers a software to store data in the card.