Researchers have developed a sprayable on-site sensing tool. The main application area for this sensor spray is the detection of specific analytes in an environment where sample collection is a difficult task either due to the target chemicals themselves or the area where the samples are located. A nebulization method allows for nanofibers to be sprayed onto any surface, while the accompanying phone-based application allows for direct on-site detection.