Can you create an intent filter based on query?
android, android-intent, java
Solution
No, sorry, you cannot. You can constrain a filter based on everything to the left of the `?`, but that's it.
Problem
I would like to have my application respond to the market link for my application. So the link is market://details?id=my.package.name. Now the reason I want this is so I can send out a link that will open the app if it is installed and open the market page if the application is not installed. The problem I am running into is that my application will respond to all market links and not just my applications link. The reason is the package name is defined in the query part of the Uri. Is there a way to filter an intent based on the query part of the Uri?