Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Send call" to iPhone from iPad

Is it achievable to in an iPad-app somehow communicate with a pre-defined iPhone and make the iPhone call a number defined in the app?

Example process:
User uses the iPad app. Finds a number he/she wants to call, touches the magical button and the iPhone starts calling. Useful when iPhone is in pocket and user has a headset.

If possible I want this to work without installing anything on the iPhone. So for example by interfacing with bluetooth. If not possible without installing anything on the iPhone, how could it be achievable by installing something?

I'm grateful for any advice in this matter. I'm not looking for code examples but rather the best technical solution considering my circumstances and wishes. Any ideas?

like image 511
Phil Avatar asked Dec 12 '22 06:12

Phil


2 Answers

The answer is no. At least not without a jailbreak.

Developers aren't allowed to directly access the phone routines on an iPhone. You can present a Yes/No option at most, but actually calling always requires user interaction.

And without even installing software: you'd need the iPad to get the iPhone to do stuff. I'm rather sure you don't get that level of control over Bluetooth either. The iPhone could accept the call command, but the iPad couldn't send it.

like image 142
Tom van der Woerdt Avatar answered Jan 04 '23 01:01

Tom van der Woerdt


I believe it is possible to connect two devices, using Game Kit, Bonjour or even setting up one of them as a server with CocoaAsyncSocket.

Just install your app(s) on both devices and then, depending on your choice of approach, The trick is just discovering the IP of the other device.

So if you for example got an iPad app with the call button, and an iPhone for doing the calling, then just let the first for example TCP post to the other.

Maybe you can start a call from the iPhone without the user having to touch the phone in her pocket this way, but @tom-van-der-woerdt seem to know more about that than I do.

like image 24
JOG Avatar answered Jan 04 '23 01:01

JOG