I\'m using the new google plays service: Barcode detector, for this porposue I\'m following this tutorial : https://search-codelabs.appspot.com/cod
To use the API, it's necessary to have internet connection, I had connection to my ADSL but not resolved DNS. Fixing that problem make my app works