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

George Pligoropoulos picture George Pligoropoulos · Mar 22, 2013 · Viewed 27k times · Source

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!

Answer

V-Xtreme picture V-Xtreme · Apr 9, 2013

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.