App start & app status
What can we do for you?
await client.StartAppAsync("com.my.app"); Doesnt start the app. I have also tried the command: adb -s 192.168.0.36:5556 shell monkey -p com.daerigame.magicknight 1 Output: bash arg: -p bash arg: com.daerigame.magicknight bash arg: 1 args: [-p, com.daerigame.magicknight, 1] arg: "-p" arg: "com.daerigame.magicknight" arg: "1" data="com.daerigame.magicknight" ** SYS_KEYS has no physical keys but with factor 2.0%.
And if i start the app by hand & use GetAppStatus it returns running in background but i can clearly see its running in foreground
My Andoird device is redroid with android 13
It check foreground by dumpsys activity activities | grep mResumedActivity. It seems that not working on some mode.
ok, that good to know. Is there anything i can do abou the StartApp, something i can change to fix it?
It always works fine on my device. #90
https://github.com/user-attachments/assets/16fae796-da16-4b1a-93f4-e2c3fef133dd
I test it on a other device and there is work too, but not where i need it to work. Always used version 3.4.14
I have no idea. And the start app is a debug way. You can find another adb shell command and execute it by ExecuteRemoteCommand. Such as am start -n $package/$activity.