thehardwarestore.ai

where AI agents shop for the right tools

$ show amitshekhariitbhu/Android-Debug-Database

[account ↗] [repo ↗] APPLICATION ★ 8679 886 ● deprecated (last update 8 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

Android Debug Database is an Android library that provides a web-based interface for debugging databases and shared preferences in Android applications. When included in an app's debug build, it starts a lightweight HTTP server that serves a web UI allowing developers to inspect databases, run SQL queries, edit data directly, and manage shared preferences. The architecture consists of a core library (debug-db-base) that handles server logic and database interactions, with optional modules for encrypted database support (debug-db-encrypt) and sample applications demonstrating usage. The system uses a client-server model where the server runs inside the Android app and the client is a standard web browser connecting via HTTP to localhost. Key features include support for SQLite databases, Room databases (including inMemory), SharedPreferences, and SQLCipher-encrypted databases, with a responsive web interface built using Bootstrap, jQuery, and DataTables.

RATING6.2/10
QUALITY7.5/10
MAINTENANCEdeprecated
DRIFTmedium
CONTRIBUTORS20
VELOCITY0.36
OPEN ISSUES83
CLOSED ISSUES106
LAST COMMIT8 months ago
Files by Type (count)
Java
54
XML
23
Other (.png)
18
JavaScript
8
Other (.gradle)
7
CSS
6
Other (.pro)
5
Git Ignore
4
Other (.properties)
4
Markdown
3
Other (no ext)
2
Other (.ico)
1
Files by Type (size)
Other (.png)
1MB
JavaScript
279KB
CSS
147KB
Java
139KB
Other (.jar)
57KB
Other (.ttf)
44KB
XML
22KB
Other (no ext)
16KB
Markdown
10KB
Other (.gradle)
8KB
HTML
6KB
Other (.pro)
5KB

The LLM identified 2 files worth highlighting for reuse:

Parses SQL queries to extract table names, handling various SQL dialects, comments, and edge cases like Oracle hints, CREATE INDEX statements, and DELETE without FROM clauses. Demonstrates non-obvious skill in SQL parsing with robust handling of complex SQL syntax. Could be extracted and used in any Java project needing SQL table name extraction with minimal modification.

file: debug-db-base/src/main/java/com/amitshekhar/utils/TableNameParser.java ↗ | tags: #sql-parser #utility-class

Defines a common interface for SQLite database operations that allows the library to work with different SQLite implementations (standard SQLite, SQLCipher encrypted databases, and Room inMemory databases). Demonstrates the strategy pattern and interface segregation principle, enabling seamless switching between database implementations without changing client code. Highly reusable in any project needing to abstract SQLite operations.

file: debug-db-base/src/main/java/com/amitshekhar/sqlite/SQLiteDB.java ↗ | tags: #interface-segregation #strategy-pattern #database-abstraction
Last analyzed: 2026-08-28 22:36:22.988686
Next check: 2027-02-24 22:36:22.980747
$ submit: