A dispenser is provided. The dispenser has a reservoir for storing a
liquid or solid material. The dispenser may have a piezoelectric valve or
pump located in an opening of the reservoir for regulating dispensing of
the material. Alternatively, the dispenser may have a piezoelectric
inchworm that directly or indirectly propels the material against or out
of the opening. The opening may deposit the material directly or
indirectly on the surface of an animal, or under the animal's skin. The
dispenser also can be attached to the surface of the animal.
Alternatively, the dispenser may be placed inside the animal.