title: How to query UserDictionary content provider on Android?
body: <p>I can't seem to find any good example code of how to query the UserDictionary content provider given a word.  My query looks like:</p>
  
  <pre><code>Cursor cur = getContentResolver().query(
      UserDictionary.Words.CONTENT_URI,
      new String[] {Words._ID, Words.WORD},
      Words.WORD + "=?",
      new String[] {"test"},
      null);
  </code></pre>
  
  <p>I have also tried not specifying a query as well as not specifying a projection and the cursor is always empty.  I have included <code>android.permission.READ_USER_DICTIONARY</code> in my manifest.</p>