Imagine smartphones that can diagnose diseases, detect counterfeit drugs or warn of spoiled food. Spectral sensing is a ...