A piezoelectric device is disclosed, which includes a first element of porous
crystalline
material, a second element being attached to, or integrally formed with, the first
element, and at least one electrode being in electrical contact with the first
element, such that subjecting the first element to an electric potential via the
at least one electrode results in a strain induced by the first element on the
second element. Also disclosed is a piezooptic device which includes a first element
of porous crystalline material, a second element being attached to, or integrally
formed with, the first element, and a light source, such that subjecting the first
element to light originating from the light source results in a strain induced
by the first element on the second element.