Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android <-> iOS direct communication (Bluetooth). Is it possible? [duplicate]

First of all I am an Android developer, so the question goes to all the iOS developers.

Is it possible to achieve an Android <-> iPhone/iPad direct communication?
Some claim it is not possible, others claim it is.

I guess two possible technologies would be Bluetooth and/or Wi-Fi Direct.
Wi-Fi Direct is not recommended because it is not supported by Gingerbread and as far as I know, it is not supported by iPhone either (maybe iPhone 6, as I have heard from rumors)

It is already known that Bluetooth communication is achieved between iOS devices using GameKit and here is a reference.

I don't understand what is so special when communicating with GameKit??
Are the messages wrapped in some way with extra bytes at the beginning and ending of the message? Fine, we can wrap the messages the same way in Android!
Are the messages encrypted?!! And if so, could we decrypt them when they are received in an Android device?

Any ideas, workarounds, or other hackerish solutions are mostly welcome!

like image 223
George Pligoropoulos Avatar asked Mar 22 '13 21:03

George Pligoropoulos


People also ask

Can Android and iOS connect Bluetooth?

However, when it comes to sharing files from your Android device to an iPhone, you are stuck in the dilemma. Apple does not allow non-Apple devices to share files with its products using Bluetooth!

Can iOS communicate with Android?

FaceTime link In iOS 15, Apple introduced the addition of FaceTime links with their update to the application. For the first time, non-Apple devices could take part in FaceTime calls via the web. You can send a link either to start a call or while in a live FaceTime call.

Can you WIFI direct from Android to iPhone?

On your Android phone, tap Send > Select photos, videos, apps, and music you want to transfer, and tap SEND. Step 3. Tap CONNECT TO iOS/WP when there is a blue screen on Android phone, then a mobile hotspot name and password will show up.


1 Answers

There are three frameworks available in iOS using which you can develop the bluetooth applications:

1. GameKit: This is the publicly available framework . But using this you can only establish and communicate between only two iOS device. So this framework having its own limitations .

2. BluetoothManager: This is private framework .I used this framework to discover the non iOS devices . I have established the connection also . But cant able to do the data exchange. I think it is still under development. For the reference you can refer this link

3. CoreBluetooth: This is also the public framework. This can only discover BLE enabled devices . I have successfully used this to transfer the data between the BLE enabled devices.

like image 147
V-Xtreme Avatar answered Nov 12 '22 19:11

V-Xtreme