My situation is this: I am doing a reader who uses Mobile Vision Api and management results com.google.zxing.client.result modifying the code (with my own UI) and adding in the header of each modified file
"NOTICE This field is based on com.google.zxing.client.result.ResultHandler of ZXing Project
https://github.com/zxing/zxing ".
Now I'm analyzing the code "com.google.zxing.client.result.supplement.ProductResultInfoRetriever" and I find this alert "
<P> <strong> Please do not reuse esta code. </ Strong> Using results in This Way requires permission
* From Google, and That Is not Granted to users via esta project. </ P> "
* I think it's because of the uri "https://www.google." + LocaleManager.getProductSearchCountryTLD (context)
+ "? / M / products ie = UTF8 & oe = utf8 & scoring = p & source = zxing & q =" + encodedProductID, "so I will not make use of it.
** But ResultHandler class also uses the services of google:
// Uses the mobile-specific version of Product Search, Which is formatted for small screens.
final void openProductSearch (String upc) {
Uri uri = Uri.parse ( "http://www.google." + LocaleManager.getProductSearchCountryTLD (activity) +
"/ M / products q =" + upc); // I deleted "& source = zxing"
launchIntent (new Intent (Intent.ACTION_VIEW, uri));
}
final void openBookSearch (String isbn) {
Uri uri = Uri.parse ( "http://books.google." + LocaleManager.getBookSearchCountryTLD (activity) +
"/ Books vid = isbn?" + Isbn);
launchIntent (new Intent (Intent.ACTION_VIEW, uri));
}
My questions are:
1. I'm doing well by modifying files and adding the header NOTICE?
2. My assumption is correct regarding
"Https://www.google." + LocaleManager.getProductSearchCountryTLD (context)
+ "? / M / products ie = UTF8 & oe = utf8 & scoring = p & source = zxing & q =" + encodedProductID; "*
3. The file ResultHandler use of these services is google **
these services can I use them?
Thanks beforehand for your attention.