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
func (d *Device) IncomingCall(ctx context.Context, action, number string) error
IncomingCall drives a simulated incoming call: "ring", "accept" or "hang", and "" is "ring". number is the caller's; "" leaves the emulator's default. Emulator only — a real phone cannot be made to ring from outside.
Not called Call: that is already the raw tool-call escape hatch below.
Examples
Ring the device with an incoming call
if err := dev.IncomingCall(ctx, "ring", "5551234"); err != nil {
return err
}
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
Hang up
if err := dev.IncomingCall(ctx, "hang", ""); err != nil {
return err
}
The same call from the command line, mobium call hang, printed on an Android 15 emulator:
ended a call from 5551234