Passing Parameters via URI in Android
<p>Is it possible (or recommended) to pass parameters to content providers via URIs in Android, similar to how web addresses use them?  That is to say, can I use name/value pairs in content:// URIs?</p>

<p>For example, I have a search provider that can search based on names.  I pass it a URI like this:</p>

<p>content://com.example.app/name/john</p>

<p>That would return anyone with "john" in their names, including John, Johnathon, Johnson, etc.</p>

<p>I want to have the option (but not requirement) to search by exact names and not find partial matches.  I was thinking of doing something like this:</p>

<p>content://com.example.app/name/john?exact=true</p>

<p>That would tell the search provider to only return names that exactly match "John."  But I haven't seen any other examples of parameters used like this within Android.  Is there a better way?  What am I missing here?</p>

<p>Thanks!</p>
