jeudi 30 juillet 2015

how to log adb logcat using .BAT Files



Hi

I am using third party tool to perform android touch screen operation.
I wanna start and stop logging using batch files or python files.
example:
Clear log - > start logging -> play music -> stop logging -> save log file.

I tried to run 2 different files with
1. adb -s <DEVICE_ID> logcat -v time > "C:\Logfile.txt
2. ctrl+c
As i am using batch files, i cant send Ctrl+C separately as it is opening the ctrl+c in different window.

Please can anyone suggest how to start and stop logging.
I dont wanna use dump -d as it may not give complete log of all the operations I did. (not sure)

I am new to android.
Suggestions and help are appreciated.



Aucun commentaire:

Enregistrer un commentaire