Skip to content

Instantly share code, notes, and snippets.

@benigumocom
Created July 20, 2022 11:53
Show Gist options
  • Select an option

  • Save benigumocom/16cfe0e7f445f7d565bbb83168a3ab8e to your computer and use it in GitHub Desktop.

Select an option

Save benigumocom/16cfe0e7f445f7d565bbb83168a3ab8e to your computer and use it in GitHub Desktop.
val db = SQLiteDatabase.create(null)
val query = "SELECT sqlite_version()"
val sqlite = DatabaseUtils.stringForQuery(db, query, null)
Timber.d("SDK: API-${Build.VERSION.SDK_INT}, SQLite: $sqlite")
// 1658317908.842 D: SDK: API-31, SQLite: 3.32.2
@benigumocom

Copy link
Copy Markdown
Author

SQLite のバージョンを確認する
👉 https://zenn.dev/maochanz/articles/1a98665d04ef57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment