Query the COUNT of rows in a SQLite table in Android

‹ java.lang.VerifyError: com.google.analytics.tracking.android.AppFieldsDefaultProvider | Android SQLiteOpenHelper onUpgrade() ›

There's a function DatabaseUtils.queryNumEntries() which can be used to query SELECT COUNT(*) FROM table; in a SQLite database in Android.

Subscribe to All Posts - Wesley Tanaka