Solved

Mobile app idea

Posted on 2017-01-04
6
69 Views
Last Modified: 2017-01-04
If I were to scan a product's bar code with a bar code scanner, will it return any result. Or is the barcode associated with the stores back end office only? For instance if I were to scan a package of "whatever" from Walmart or target, will it bring up what the product is? Any advice would be appreciated.
0
Comment
Question by:Rafael Banks
6 Comments
 
LVL 93

Assisted Solution

by:John Hurst
John Hurst earned 125 total points
ID: 41948173
You need a database of products that the bar code will look through. Bar codes are not bright at all. Just a bar code and nothing else will not yield anything (other than the uPC code).
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 125 total points
ID: 41948190
The UPC barcodes on products are valid throughout the US and are not unique to the stores.  The problem is that there are so many of them.  The first 5 digits are the company code and the second 5 are the unique product code.  That's 99,999 companies with 99,999 products each.  And it is proprietary information 'owned' by GS1 https://www.gs1us.org/ .   This site has a lookup function plus a mobile app to read the codes:  http://www.scandit.com/upc-lookup/

More info: https://en.wikipedia.org/wiki/Universal_Product_Code
0
 
LVL 93

Assisted Solution

by:John Hurst
John Hurst earned 125 total points
ID: 41948193
Even with all that, I do not think you get any useful information about the product (like price, dating and such like). That has to come from a store database.
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 52

Accepted Solution

by:
Joe Winograd, EE MVE earned 250 total points
ID: 41948194
Rafael,
There are different types of bar codes used on products. The two most common formats are UPC (Universal Product Code, used in the US) and EAN (initially, European Article Numbering, but now stands for International Article Numbering). In both cases, 10 digits are used for the product code (although there are more digits for other purposes, such as a check digit). Once you have the digits from your scanner, you can look up the product in a database (the codes are not associated with a particular store's back office, unlike the case with the transaction ID bar code that we discussed at your previous question). I've never personally used such a database, but plenty are out there, such as this one:
http://upcdatabase.org/

Note that it has an API so that you can call it easily from your app. Also note that their database provides an image of the item, which is something you said that you want at your previous question. Regards, Joe
0
 

Author Closing Comment

by:Rafael Banks
ID: 41948249
This was exactly what I needed! Thank you very much.
0
 
LVL 52

Expert Comment

by:Joe Winograd, EE MVE
ID: 41948255
You're very welcome, Rafael. Good luck with your app — sounds like a fun dev project!
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using in-flight Wi-Fi when you travel? Business travelers beware! In-flight Wi-Fi networks could rip the door right off your digital privacy portal. That’s no joke either, as it might also provide a convenient entrance for bad threat actors.
With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices. Find out how to create a mobile email signature with this guide.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question