Type and Tap on Virtual Devices
Typing and tapping on the virtual device's interface is easy.
Use the Web Interface
When using the Corellium web interface, your local mouse and keyboard will automatically be passed through to the virtual device.
Simply use your mouse to click on the display field then start typing on your keyboard.
Use the API
The Corellium REST API includes an option for providing input to a virtual device.
You will need to include an instance ID, which you can find in the URL on the web interface, and a JSON request body.
Under the Examples dropdown, you can see how to:
- Touch for 100ms
- Swipe with one finger
- Swipe with two fingers
- Type a string of characters
- Touch, wait, then type
For example, to input a string of characters, use the following JSON request body:
[
{
"text": "Hello, world"
}
]