Here is the snippet ready to use in terminal:
Tag: batch
Recently I had to compare two versions of the app. I had Huawei and Samsung devices. Instead do it manually I made some research and I created script for that:
Here is the batch script:
Here is the batch script: Or you can just download it.
for %%f in (*.m4a) do ( Â ffmpeg -i “%%f” -acodec libmp3lame -ab 320k “%%f.mp3” )
for %%f in (*.m4a) do ( ffmpeg -loop 1 -i bear.jpg -i “%%f” -c:a aac -c:v libx264 -crf 0 -preset veryfast -shortest “video-%%f.mp4” )
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 … Read More “Simple pulling database sqlite to desktop and preview it” »