안드로이드 개발 질문/답변
(글 수 45,052)
안녕하세요
android에서 DB table을 생성하고 operation을 수행합니다.
특정 operation이 종료된 후 해당 DB에서 특정 정보가 있는지 판단을 하는데
cursor로 DB query를 수행한 후에 DB에 해당 정보가 없으면 cursor를 close시킬 때 아래와 같이 error msg가 발생합니다.
java.lang.SecurityException: Binder invocation to an incorrect interface
at android.os.Parcel.readException(Parcel.java:1322)
at android.os.Parcel.readException(Parcel.java:1276)
at android.content.IContentService$Stub$Proxy.unregisterContentObserver(IContentService.java:434)
at android.content.ContentResolver.unregisterContentObserver(ContentResolver.java:872)
at android.database.AbstractCursor.deactivateInternal(AbstractCursor.java:86)
at android.database.AbstractCursor.close(AbstractCursor.java:108)
at android.database.sqlite.SQLiteCursor.close(SQLiteCursor.java:504)
at android.database.CursorWrapper.close(CursorWrapper.java:45)
at android.content.ContentResolver$CursorWrapperInner.close(ContentResolver.java:1407)
이와 같은 유사한 경험을 하신 분들의 도움을 구하고자 합니다.
이거때문에 몇일을 삽질하고 있는지 모르겠네요 ㅠ.ㅠ
소스좀 보여주세요 ㅋ
cursor close 시 bind exception이라니;;; 난감하네요
로그도 하단에 더 있을텐데 것두 보여주세요 ㅋ