I want to get product info by using barcode and want to query it in https://www.factual.com. How can I use factual API for Android and how I configure it ?
5 Answers
Start from factual's developer website .

- 1,935
- 16
- 24
-
Is there any example ? So that i can use it as a sample. – Kamran Ullah Nov 13 '14 at 18:07
You can follow up the get start in the documentation,
Here is the link: http://developer.factual.com/get-started/
Do it step by step, and on the step 4, you will get some example you need to try it out.

- 6,068
- 2
- 22
- 35
-
Yes i read it but i am facing difficulty at second step [Download and install a Factual API driver for the language you want to use. We have the following drivers available*: Android]. I want to install it for android but dnt know how i do it. – Kamran Ullah Nov 13 '14 at 18:26
Go This page and download the relevant example
http://developer.factual.com/examples/
and start exploring.

- 1,973
- 1
- 19
- 30
You have to use http call to query the factual.com tables. Here are some http examples you have to call on your code: (after you have your api key)
http://api.v3.factual.com/t/products-cpg?q=shampoo
http://api.v3.factual.com/t/products-cpg?q=shampoo&filters={"brand":"pantene"}
http://api.v3.factual.com/t/products-cpg?filters={"upc":"052000131512"}
You can look on this page for more examples:
http://developer.factual.com/working-with-factual-products/
I think you are looking for this table field: upc_e = The UPC-E barcode used for identifying products. 8-digits in length.
The product table schema is here:

- 449
- 4
- 4
-
I need help in [Download and install a Factual API driver for the language you want to use. We have the following drivers available*: Android]. How to install it for Android ? How i do this step? – Kamran Ullah Nov 14 '14 at 03:58
I solved my issue by placing php driver of factual in root directory of WAMP server.Instead of android, i use php driver. Now i am sending barcode form android device to WAMP (server) PHP driver.

- 21
- 4