io2015-codelabs
io2015-codelabs copied to clipboard
codelabs for Google I/O 2015
in this code `txtView `is not defined yet (Will be defined in the next piece of code but should be defined here) ``` BarcodeDetector detector = new BarcodeDetector.Builder(getApplicationContext()) .setBarcodeFormats(Barcode.DATA_MATRIX |...
At the "_Intercept the web page requests_" part, right after the "_Add the following code to the bottom of your sw.js to log the requests made from the parent page._"...
I tried the mentioned codelab. At step3, I Git cloned the example and installed gRPC package with "go get google.golang.org/grpc" command. However, when I try "go run client.go", this is...
Hello, running the code lab about how to use AndroidPay I faced that the function generateMaskedWalletRequest() is giving me an error because is not found when initializing the WalletFragment any...
Adding a Service Worker and Offline docs are missing a couple code snippets. Included screen shot shows where they are missing. 
Step 2 of the codelab: I need to download the full set of Google I/O codelabs, lots of mega if you're in an event with limited wifi. Would be good...
The installation link for `gRPC C++ library` in section 2 is incorrect the right link should be `https://github.com/grpc/grpc/blob/master/INSTALL.md`
05-30 01:39:22.251 5922-5922/com.example.android.voicecamera D/CameraActivity: onCreate: 05-30 01:39:22.254 5922-5922/com.example.android.voicecamera D/AndroidRuntime: Shutting down VM 05-30 01:39:22.264 5922-5922/com.example.android.voicecamera E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.android.voicecamera, PID: 5922 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.android.voicecamera/com.example.android.voicecamera.CameraActivity}: android.content.ActivityNotFoundException:...
The snippet of "Setup the Barcode Detector" does not declare txtView, e.g. TextView txtView = (TextView) findViewById(R.id.txtContent); Reference: https://search-codelabs.appspot.com/codelabs/bar-codes#6
``` gulp.task('generate-service-worker', function(callback) { var path = require('path'); var swPrecache = require('sw-precache'); var rootDir = 'app'; swPrecache.write(path.join(rootDir, 'sw.js'), { staticFileGlobs: [rootDir + '/**/*.{js,html,css,png,jpg,gif,mp3}'], stripPrefix: rootDir }, callback); }); ``` Should...