This pocket scanner scans the molecular structure of objects, foods and medications and almost everything you can think of. It then gives the chemical data of that object through an app you install for that purpose. It does so by analyzing the wavelength of the light that is affected differently when reflected off of different types of molecules. It's a complex method of decoding optical signature of different types of molecules. You can pre order it for 250$. It will come out in late 2016.
https://www.youtube.com/watch?v=JcHCqIDD7JY
https://www.consumerphysics.com/myscio/