Access UserDictionary Content Provider on android API level 23

自闭症网瘾萝莉.ら 提交于 2019-12-05 10:32:28

This was reported here: Android Issue Traker

Official response: Working as intended. This feature has been remove effectively since API 23.

There is an issue on API level 23 where the user dictionary provider returns a cursor with no data, even when the dictionary is populated.

A current work around is to use a device or emulator running API level 22 or lower. You can quickly make an API level 22 emulator.

According to the Android official document of UserDictionary, only IME and SpellChecker can access the UserDictionary.

Check the NOTE on this page: https://developer.android.com/reference/android/provider/UserDictionary.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!