We present an economical route to achieve an all-solution and vacuum-deposition free device for fabrication of both the photoactive layer and the electrode. This low cost strategy offers a wide range of possibilities in terms of chemical and physical properties for the fabrication of tailor-made materials and their devices.