A sandwich-structured porous MnO2/polyaniline/MnO2 thin film for supercapacitor applications