How can I count the number of columns in a table in a sqlite database in Android?
You can use pragma table_info(foo_table) and count the number of rows returned
pragma table_info(foo_table)
548k questions
547k answers
4 comments
86.3k users