Android Emulator

Ask gaming related questions (AHK v1.1 and older)
jhubler
Posts: 3
Joined: 17 Dec 2017, 18:09

Android Emulator

17 Dec 2017, 20:46

Hi

I am creating an Android emulator on Windows 10 Pro PC. In apps or games, I want to able to press any key on my keyboard to tap a certain coordinate(X,Y.) I have successfully created an script to do that. However, I want to automatically start a certain script when the appropriate app is running. By an adb command, you can see the active window package ID:

adb shell "dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp'"

It comes back with:

mCurrentFocus=Window{2b1c1a0 u0 com.mobirate.rovercraft.gplay/com.mobirate.activity.RCActivity}
mFocusedApp=AppWindowToken{454eeb3 token=Token{b03e817 ActivityRecord{5ae5496 u0 com.mobirate.rovercraft.gplay/com.mobirate.activity.RCActivity t6}}}


This indicated RoverCraft with a package ID "com.mobirate.rovercraft.gplay" is the active window. I know the Andy emulator on andyroid.net uses this but their .cfg files. I would like to create this on my emulator. How would I approach this?

Thank you
John
jhubler
Posts: 3
Joined: 17 Dec 2017, 18:09

Re: Android Emulator

28 Dec 2017, 16:47

Any help would be great.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 75 guests