Friday, 4 April 2014

calabash automation : launch genymotion simulator from command line

Command to launch genymotion headless -
player --vm-name Nexus_4

  • if player is not already added to path, add it to path using below command in your ~/.bash_profile

    export PATH=/Applications/$PATH

    When more than one device is connect use 'adb -s' is used to redirect commands to particular device
    Once emulator is running they will be listed under adb devices

     adb devices            
    List of devices attached           device
    Verfiy command are send to correct device:

     Send command to click on menu key on android device when multiple devices are connected
    adb -s shell input keyevent KEYCODE_MENU



    1. Thanks man. I was looking for this

    2. For many people, leading a life without a mobile phone would be nearly impossible for many of us to tolerate. Our lives are dependent on the devices for so many things besides the major advantage of providing a means of communication with people.this site