Anybody cab help me with this problem?

On Nov 14, 5:35 pm, akurni <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have trouble using the setTextFilterEnabled() on a list view.
> I got this Runtime exception "attempt to acquire a reference on a
> close SQLiteClosable". This exception only occurs when I did some
> filtering on the list and open another activity and come back back to
> it.
>
> The filtering is working fine. I tried to type some text and the list
> view get updated. I use the setFilterQueryProvider(new
> FilterQueryProvider(){
>
>                                 public Cursor runQuery(CharSequence 
> constraint) {
>                                         StringBuilder buffer = null;
>                                         String[] args = null;
>                                         if (constraint != null) {
>                                                 .....
>                                         }
>
>                                         return 
> getContentResolver().query(URI, PROJECTION,
>                                                         buffer == null ? null 
> : buffer.toString(), args,
>                                                         DEFAULT_SORT_ORDER);
>                                 }});
> on my SimpleCursorAdapter.
>
> Did I miss something?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to