I asked this question on stackoverflow but it's getting (literally) no
views for some reason so I'll repost it here.

http://stackoverflow.com/questions/3314199/search-suggestions-with-matrixcursor-no-longer-work-in-2-2

My application uses in-app search, dynamically builds search
suggestions on each request, puts them in a MatrixCursor and returns
the suggestions to be displayed. Info on search suggestions here:
http://developer.android.com/guide/topics/search/adding-custom-suggestions.html

This works perfectly fine in 2.1-update1, but when I loaded it on a
2.2 phone, I get a fatal error when I try to search. The error logs
are in the link, but basically the application is getting an error in
code that isn't mine (Google Android code for displaying search
suggestions - SuggestionsAdapter). For some reason it's trying to get
the MatrixCursor to Long.parseLong() a String, and the application is
failing. Again, this does not happen in 2.1. I hope I've just
overlooked something stupid.

Thanks!

-- 
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