SimpleCursorAdaptor with an AutoCompleteTextView Giving NullPointerException at onItemClick on HTC Devices?

Add a log at your code where you are getting the error and see if it's returning a value from the HTC device's Logcat. It's probably that there's a difference in handling the text view for that device.Do some system out to check if they are null or not.

I have found a great solution to my problem! I have gotten rid of the SimpleCursorAdaptor and implemented my own method. I have also determined that several devices handles the UI differently.

So I implemented a brute force method to get the data from 4 different methods. If one fails, it moves on to the next one. But one method should always get the data.

Here is the code.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions