A man is using his smartphone to scan barcodes in a grocery store.