Search code examples
androidpythonappium

What is the android activity for opening sudoku and how do I find how to?


I am using appium and using Sudoku app for Android on a Windows 7 machine using Python. If someone can help me find out what the app activity is to opening this and how they were able to figure that out


Solution

  • You just need to run adb shell command in command prompt. After that , Open the Suduko app in your device(make sure your device is connected to your laptop/pc) and go back to the command prompt and run the below command :

    dumpsys window windows | grep -E 'mCurrentFocus'

    The Above command will give you the package name & activity name of the currently focused app.