android-cursoradapter
Cursor and Adapter
can someone see what I have wrong with my cursor:The data from the db is not returned (at least the screen is blank). I think that is my problem.In the DDMS shows it opens & closes the db.I am not[详细]
2023-03-02 04:18 分类:问答Android: column '_id' does not exist
I am getting this error IllegalArgumentException: column \'_id\' does not exist When using a SimpleCursorAdapter to retrieve from my database, and the table does indeed have this _id column. Notic[详细]
2023-03-01 23:32 分类:问答start a filter that asks for runQueryOnBackgroundThread
If I implement filtering for an autocomplete and I override the runQueryOnBackgroundThread() method, a background thread will be launchedwhich will get me a cursor.[详细]
2023-03-01 18:26 分类:问答Create a cursor adapter to display more items than in cursor itself [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: Android: custom separator (or even item) in ListView depening on content of item[详细]
2023-02-24 08:18 分类:问答Cursor adapter and sqlite example [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-02-20 10:32 分类:问答Android: ListActivity with CursorAdapter not updating even with requery
I have a SearchActivity (extends ListActivity) and a SearchAdapter which will fetch the searchresults. I can see in logcat, that cursor.getCount() increases with every hit and cursor.requery() returns[详细]
2023-02-19 05:11 分类:问答How do I implement autocomplete with cursoradapter
I have an SQLite database containing 2 tables 4000+ rows each used for autocomplete. I saw very simple examples that use an array of strings to provide autocomplete or they use the list of contacts to[详细]
2023-02-18 22:51 分类:问答Updating SQLite database in background thread on Android
I\'m using a custom CursorAdapter to display data stored in a database. The data is pulled from a server, parsed, and inserted into the database in a separate thread. Because I don\'t want to keep aro[详细]
2023-02-15 14:45 分类:问答Reading PhoneLookup.NUMBER crashing application in Android [duplicate]
This question already has answers here: How to read contacts on Android 2.0 (9 answers) Closed 5 years ago.[详细]
2023-02-01 15:06 分类:问答Android: how to use CursorAdapter?
I have a database, a ListView, and a CustomCursorAdapter that extends CursorAdapter. A menu button adds an item to the database. I want the ListView to update and show this change. Normally it doesn\'[详细]
2023-01-12 11:42 分类:问答