Ram
Ram

Reputation: 1890

Call Automation in iPhone

Is it possible to simulate call procedure in an iOS App using any script.

Launch Phone App Pres Key Pad Dial Numbers Press End call

Gone through the following link.

IPhone Automation

I am looking for commands similar to adb commands.

Like the following command

adb shell am start -a android.intent.action.CALL tel:123456789

I tried using the following code to dial the call from the App

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://123456789"]];

Now I get different view, Is it possible to access the elements in this view from Javascript ? I would like to end the call after 5 seconds by simulating the End button touch using some script. Is it feasible ?

Is there any API to accept and reject calls within the App?

I searched for this earlier but did not find any API. I want to try it as an internal app and I don't want to submit in the AppStore and I am looking for non jail broken devices.

Upvotes: 0

Views: 907

Answers (1)

Kris Flesner
Kris Flesner

Reputation: 428

No, there is no API to interact with any of the phone features on an iPhone, other than openURL:

Upvotes: 1

Related Questions