问题:
managedQuery方法在2.3.3没问题,但是在4.2.2里面就不行了,提示:The method managedQuery(Uri, String[], String, String[], String) from the type Activity is deprecated。
解决方法:
可以用context.getContentResolver().query()来代替activity.managedQuery()方法,参数都一样。
问题:
managedQuery方法在2.3.3没问题,但是在4.2.2里面就不行了,提示:The method managedQuery(Uri, String[], String, String[], String) from the type Activity is deprecated。
解决方法:
可以用context.getContentResolver().query()来代替activity.managedQuery()方法,参数都一样。