managedQuery过时的解决办法

来源:互联网 发布:sftp 修改制定端口号 编辑:程序博客网 时间:2024/05/16 19:48

错误信息:The method managedQuery(Uri, String[], String, String[], String) from the type Activity 

解决办法:用Context.getContentResolver().query()来代替managerQuery(),参数都一样


另附个链接 :http://stackoverflow.com/questions/12714701/deprecated-managedquery-issue

0 0
原创粉丝点击