title: Deep Linking Android first opens the launcher activity (not the deeply linked activity )
body: <p>Deep Linking Android first opens the launcher activity (not the  deeply linked activity ) then the deeply linked activity as declared in Manifest file.I have followed all the steps mentioned <a href="https://developer.android.com/training/app-indexing/deep-linking.html" rel="nofollow">here</a> .</p>
  
  <p>viz. Manifest contains</p>
  
  <pre><code>&lt;activity
      android:name="com.example.android.GizmosActivity"
      android:label="@string/title_gizmos" &gt;
      &lt;intent-filter android:label="@string/filter_title_viewgizmos"&gt;
          &lt;action android:name="android.intent.action.VIEW" /&gt;
          &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
          &lt;!-- Accepts URIs that begin with "http://www.example.com/gizmos” --&gt;
          &lt;data android:scheme="http"
                android:host="www.example.com"
                android:pathPrefix="/gizmos" /&gt;
          &lt;!-- note that the leading "/" is required for pathPrefix--&gt;
          &lt;!-- Accepts URIs that begin with "example://gizmos”
          &lt;data android:scheme="example"
                android:host="gizmos" /&gt;
          --&gt;
      &lt;/intent-filter&gt;
  &lt;/activity&gt;
  </code></pre>
  
  <p>and Deeply Linked activity contains</p>
  
  <pre><code>@Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  
      Intent intent = getIntent();
      String action = intent.getAction();
      Uri data = intent.getData();
  }
  </code></pre>
  
  <p>and some other activity specific code.</p>