The present invention relates to an electronic device and an operating method of the same. The patterned film preferably includes a tapered tip end for holding a crystal. Consequently, when acceleration is applied, torsional vibrations act on the spring material.