I am building an android application which should allow the user to scan the barcode of a food and display as much detail as possible - ie Food name, nutritional information etc.
So far I have implemented a barcode scanner using Zxing which will scan the barcode and display the barcode number.
My question is, is there a way I can use the scanned barcode to get information on the particular food product? I know the barcode is just a number, and that in supermarkets barcodes information are stored in a supermarket database.
Is there anyway I would have access to an online db of food products (open source) and then add the scanned food to my own firebase DB?