I have a deeplink defined for my Android app in the manifest file:
Removing the pathPrefix didn't solve the problem for me, I either ended up with all http deep links working or none of them, regardless of prefix. It seems like the prefixes, hosts and schemes all bleed into eachother, so with your example example://www.example.com/
would probably also trigger a deep link even though none of the individual data elements define it. I ended up figuring out that you can just separate them into different intent-filters and they wont mix.
So in your case you could use:
this will only accept http URIs that begin with http://www.example.com/some/sample/page.htm
OR URIs begining with example://com
or example://shelf
so in your originial question, http://www.example.com/other/not/deep/link.htm
will not trigger a deep link.