Genymotion shell command

Source: Internet
Author: User

command-line Options

•-h output Help information

•-R ip_address connected to a specific genymotion virtual appliance

•-C "command" executes the given command in the native shell environment and then returns

•-F Executes the contents of the file, with each command acting only on the forward

Available commands

•Battery GetMode enables the selected virtual device to return to the current battery mode, which can only be:

Host: The virtual battery meets the current host battery status (if the host has a battery)

Manual: In this mode, you can set the battery charge value and the power status

•battery SetMode to set the battery mode. This mode can only be:

Host: The virtual battery meets the current host battery status (if the host has a battery)

Manual: In this mode, you can set the battery charge value and the power status

•Battery Getlevel Returns the current battery charge value. The value can only be between 0% and 100%. If the battery mode is "host", the battery charge value for the current host is returned.

•Battery Setlevel Sets the current battery charge value. The value can only be between 0% and 100%. Set the battery power to Manual mode: If the last mode used is host, set it to manual.

•Battery GetStatus Returns the current battery status. There are four possible states:

Discharging: The battery is not connected and the battery is not charging.

Charging: The power is connected and the battery is charging.

Full: The battery is fully charged.

Unknown: Sometimes the battery status can not be confirmed, such as the host does not have a battery.

•Battery SetStatus Sets the current battery status. There are four possible states:

Discharging: The battery is not connected and the battery is not charging.

Charging: The power is connected and the battery is charging.

Full: The battery is fully charged.

Unknown: Sometimes the battery status can not be confirmed, such as the host does not have a battery.

•Devices list lists the available genymotion virtual devices and provides information about them, such as the current status or IP address.

• Ping thedevices ping to check if the virtual device responds.

•devices Refresh refreshes the list of genymotion virtual devices. Use this command to keep the list up to date.

•devices Select Choose the genymotion virtual appliance you want to interact with.

•devices show lists the available genymotion virtual devices and provides relevant information, such as the current status or IP address.

•GPS Activate Activate GPS sensor (if not activated)

•GPS Desactivate off the GPS sensor (if activated)

• TheGPS getlatitude Returns the current latitude value (if the GPS is active and has a latitude value) or 0.

•GPS Setlatitude sets the latitude value (activates the GPS if it is not already activated).

• TheGPS getlongitude Returns the current longitude value (if the GPS is active and has a longitude value) or 0.

•GPS Setlongitude sets the longitude value (activates the GPS if it is not already activated).

•GPS Getaltitude Returns the current altitude value (if the GPS is active and has an altitude value) or 0.

•GPS Setaltitude sets the altitude value (activates it if the GPS is not activated).

• TheGPS getaccuracy Returns the current accuracy value (if the GPS is active and the accuracy value exists) or 0.

•GPS Setaccuracy Sets the accuracy value (activates the GPS if it is not already activated).

• TheGPS getorientation Returns the current azimuth value (if the GPS is active and the accuracy value exists) or 0.

•GPS SetOrientation sets the azimuth value (activates the GPS if it is not already activated).

•rotation setangle Sets the rotation angle for the virtual device .

•Android version returns the Android revision number of the selected virtual device.

•Build number returns the Genymotion shell quantity.

• help tips helpful information.

• pause execution (in seconds).

• version returns genymotion shell versions.

•exit or quit to close the Genymotion Shell.

Genymotion shell command

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.