SQlite – enable log events and see it in logcat

Categories: ANDROID like

Create .bat file with commands provided below: adb shell setprop log.tag.SQLiteLog V adb shell setprop log.tag.SQLiteStatements V adb shell su 0 stop adb shell su 0 start After You execute app, You (in this case) emulator will reboot. Now search in logcat something like this below: /data/user/0/{APP_PACKAGE_NAME}/databases/{APP_DATABASE_NAME}

Simple pulling database sqlite to desktop and preview it

Categories: ANDROID like

All what we need is to make few steps: Add in our project this line to output in log current path to database Log.d(TAG, “onCreate db: ” + context.getDatabasePath(“mydatabase.db”)); Create simple batch command to pull database (afik root is no needed) adb pull “/data/data/com.example.app/databases/mydatabase.db” mydatabase_%date%.db.sqlite Download SQLiteManager to firefox, run it, open our sqlite database […]

Graduation Work – Project Państwa Miasta 206 days left

Categories: NON ANDROID like

My graduation work is a project called Państwa Miasta as a big base with words for specific categories. Name Państwa Miasta is from the paper game, very popular in many youth. One player says one letter from alphabet. In example L and the rest of the playing players (having on their papers columns with names: […]