The TRI analyzer utilizes the internal rear-facing camera as a high-resolution spectrometer. The inbuilt spectrometer measures the colorimetric absorption spectrum, fluorescence emission spectrum, and resonant reflection spectrum from a microfluidic cartridge inserted into the measurement light path. The spectral transmission-reflectance-intensity (TRI)-Analyzer, a smartphone-integrated handheld detection instrument has been developed by a research team at the University of Illinois at Urbana-Champaign.