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)
1.4m articles
1.4m replys
5 comments
57.0k users