A method for fabricating an electronic device comprises providing a
substrate (501), direct writing a functional material by a thermal spray
on the substrate (502) and removing a portion of the function material to
form the electronic or sensory device (503).