I need help on stracing Android apps in the SDK emulator.
Here is my setup:
I have an Android SDK emulator running the Android API 4.03 ADB shell connected t
This is an ugly one-liner hack I used today to solve this issue. Assuming the program has some known name, just try attaching to the process as soon as it appears. In this example, I'm interested in all calls to open.
while true; do
while ! ps | grep -q -i MyProgram; do :; done;
ps | grep -i MyProgram | while read a b c; do
strace -e open -f -p $b;
done;
done