Methods for preparing a patterned metal/metal oxide layer by using a solution type precursor or sol-gel precursor are provided and, especially, a method for preparing a patterned carrier transport of a solar cell and a method for preparing biomedical material are provided, which comprise the following steps: (A) providing a substrate, and a mold with designed patterns formed thereon; (B) coating the substrate with a solution of a precursor to form a precursor layer, wherein the precursor is a metal precursor or a metal oxide precursor; (C) pressing the mold together with the precursor layer to transfer the patterns of the mold onto the precursor layer; (D) curing or pre-curing the precursor layer; (E) removing the mold; and (F) conducting an optional post-treatment, if it being demanded, to further modify the properties of precursor layer. |