io2015-codelabs icon indicating copy to clipboard operation
io2015-codelabs copied to clipboard

deep linking code samples incorrect

Open aram208 opened this issue 9 years ago • 0 comments
trafficstars

The last two code examples seem incorrect http://search-codelabs.appspot.com/codelabs/android-deep-linking#4

  1. 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

  1. 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"

aram208 avatar Jun 18 '16 19:06 aram208