io2015-codelabs
io2015-codelabs copied to clipboard
deep linking code samples incorrect
The last two code examples seem incorrect http://search-codelabs.appspot.com/codelabs/android-deep-linking#4
- Right after "Using this protocol, we can create Android app deep links .."
it reads
android-app://com.recipe_app/http/recipe/grilled-potato-salad android-app://com.recipe_app/http/recipe/haloumi-salad android-app://com.recipe_app/http/recipe/wedge-salad
but should read
android-app://com.recipe_app/http/recipe-app.com/recipe/grilled-potato-salad android-app://com.recipe_app/http/recipe-app.com/recipe/haloumi-salad android-app://com.recipe_app/http/recipe-app.com/recipe/wedge-salad
- The next code sample (after "Now, lets try these app deep links ...") reads
adb shell am start -a android.intent.action.VIEW
-d "http://recipe-app.com/recipe/grilled-potato-salad" com.recipe_app
but should read
adb shell am start -a android.intent.action.VIEW -d "android-app://com.recipe_app/http/recipe-app.com/recipe/grilled-potato-salad"