Smartphones equipped with innovative near infrared technology no bigger than a sugar lump could open the door for rapid food quality testing of a host of products, said the Fraunhofer Institute.