I'm attempting to import from the file. I get error message such as the following. The mistake happened at getColumnIndex. How do i stop this from happening.

Cursor c = activity.getContentResolver().query(android.provider.Browser.BOOKMARKS_URI, 
                null, 
                Browser.BookmarkColumns.TITLE+"=?",
                new String[]{title}, 
                null);
int idIndx = c.getColumnIndex(Browser.BookmarkColumns._ID);//error found here

Error in stacktrace

cannot dup fd=1023, size=1048576, err=0 (Too many open files)
cannot map BpMemoryHeap (binder=0x682e50), size=1048576, fd=-1 (Bad file number)
E/JavaBinder( 5561): *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
E/JavaBinder( 5561): java.lang.RuntimeException: No memory in memObj
E/JavaBinder( 5561):    at android.database.CursorWindow.native_init(Native Method)
E/JavaBinder( 5561):    at android.database.CursorWindow.<init>(CursorWindow.java:518)
E/JavaBinder( 5561):    at android.database.CursorWindow.<init>(CursorWindow.java:27)
E/JavaBinder( 5561):    at android.database.CursorWindow$1.createFromParcel(CursorWindow.java:493)
E/JavaBinder( 5561):    at android.database.CursorWindow$1.createFromParcel(CursorWindow.java:496)
E/JavaBinder( 5561):    at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:103)
E/JavaBinder( 5561):    at android.os.Binder.execTransact(Binder.java:288)
E/JavaBinder( 5561):    at dalvik.system.NativeStart.run(Native Method)

You might check for those who have closed cursor if you have finished dealing with it.

In my opinion this can be a bug. If only I possibly could remove this.