Send Call on iPhone with iPad

Is it achievable in the iPad application to somehow exchange with a predefined iPhone and force the iPhone to call the number defined in the application?

Process Example:
The user uses the iPad application. Finds the number he wants to call, touches the magic button, and the iPhone starts ringing. Useful when the iPhone is in your pocket and the user has a headset.

If possible, I want this to work without installing anything on the iPhone. So, for example, interacting with Bluetooth. If this is not possible without installing anything on the iPhone, how can this be achieved by installing something?

I am grateful for any advice in this matter. I'm not looking for code examples, but the best technical solution, taking into account my circumstances and wishes. Any ideas?

+4
source share
5 answers

I believe that you can connect two devices using the Game Kit , Bonjour or even configure one of them as a server with CocoaAsyncSocket .

Just install your applications on both devices, and then, depending on your approach, the Trick simply opens the IP address of the other device .

So, if, for example, you got an iPad application with a call button and an iPhone to make a call, then just let the first one, for example, send a TCP message to another.

You might be able to start a call from an iPhone without having the user touch the phone in their pocket this way, but @ tom-van-der-woerdt seems to know more about this than I do.

+4
source

The answer is no. At least not without jailbreak.

Developers are not allowed to directly access phone programs on the iPhone. You can imagine the β€œYes / No” option maximum, but in fact a call always requires user interaction.

And without even installing software: you need an iPad to get the iPhone to do something. I’m sure you won’t get that level of control over Bluetooth. The iPhone can accept the call command, but the iPad could not send it.

+5
source

The closest actual solution would be to send a text message to the iPhone using a web service, indicating that the person is calling this number (it will still appear as a link). I hope this is the option for you. (A free alternative is to send an email to the phone, but it is not so pleasant for the user)

+2
source

While Tom van der Woerdt is correct given that user interaction is required, you might consider creating in VOIP in a user application. (A lot of work)

You could, for example, tell the iPad to have the iPhone download a webview (for example, a URL) that gives the phone the tel: // link. (However, the user must accept the dialog)

Ah, another solution. Set up the service on your servers to initiate a call on the iPhone connected to the desired number. Thus, the headset should be able to accept the call.

+1
source

Pretty easy with at least three technical approaches:

  • notify / push your iPhone device using a custom URL, for example "tel: your_number", and open it
  • Transfer the same URL using a Bluetooth connection.
  • Use the / REST web interface to save the URL read from the target device.

The answer / approaches are high level though ...

+1
source

Source: https://habr.com/ru/post/1388106/


All Articles