Skip to main content

incomingCall

This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET

Simulate an incoming call: "ring", then "accept" or "hang". These call app_call.

incomingCall​

public void incomingCall(String action)
public void incomingCall(String action, String number)

Simulates an incoming call: "ring", "accept" or "hang". Emulator only — a real phone cannot be made to ring from outside.

Not named call: that is the raw tool-call escape hatch.

@param action "ring", "accept" or "hang"

Simulates an incoming call from a given number. Emulator only.

@param action "ring", "accept" or "hang" @param number the caller's number

Examples​

Ring the device with an incoming call​

device.incomingCall("ring", "5551234");

The same call from the command line, mobium call --number 5551234, printed on an Android 15 emulator:

ringing a call from 5551234

mobium call --number 5551234 on an Android 15 emulator

mobium call --number 5551234 on an Android 15 emulator

Hang up​

device.incomingCall("hang");

The same call from the command line, mobium call hang, printed on an Android 15 emulator:

ended a call from 5551234