Peer to peer android and iOS with Wifi direct (multipeer connectivity?)
Asked Answered
G

4

28

Well I'm working on this app to send data between android and iOS and I got it to work between iOS devices with Apple's Multipeer Connectivity framework, but I am currently wondering how do you achieve it between both platforms? even if you are willing to write it from scratch.

How come Firechat is able to do it? As I remember, you can exchange data between both platforms with their app.

Edit: https://www.opengarden.com/meshkit.html It seems the MeshKit SDK used in Firechat is now available (for large organisations).

Greenish answered 6/3, 2015 at 20:18 Comment(1)
Did you get any work through for this? I have also the same requirement and has not find something useful till now.Are
A
15

I am very interested in this subject as well and I came across these links

AllJoyn

AllJoyn® is a collaborative open-source software framework that makes it easy for developers to write applications that can discover nearby devices, and communicate with each other directly regardless of brands, categories, transports, and OSes without the need of the cloud Source: https://github.com/alljoyn/alljoyn.github.com/wiki

OpenPeer SDK

Open Peer is an open P2P signalling protocol Source: http://openpeer.org/open-peer-sdk-for-ios/

Microsoft's Project Rome

"Project Rome" is a project code name for Microsoft's cross-device experiences platform using the Microsoft Graph. Source: https://learn.microsoft.com/en-us/windows/uwp/launch-resume/communicate-with-a-remote-app-service

Adjective answered 19/6, 2015 at 23:4 Comment(6)
A clarification for AllJoyn framework: The condition to discover nearby devices is that they should be connected to the same network, which means the same access point.Saran
Thank you so much! The OpenPeer SDK worked perfectly for me.Woodworking
OpenPeer seems to be a defunct project.Gauntry
Hi @AlexNolasco! In 2020 OpenPeer SDK is deprecated. Do you know any other open SDKs that help us connect iOS and Android devices via peer-to-peer?Olgaolguin
@AndyFedoroff Haven't checked in a while. I assume github must have a few projects e.g. github.com/chrisballinger/AirShare albeit with low star ratingAdjective
Thanks a lot, Alex!Olgaolguin
P
6

Mutipeer connectivity cannot connect iOS and Android devices. Firechat is using its own implementation.

More information here:

A couple of weeks after its iOS launch, FireChat made its debut on Android. Since Android doesn’t support Apple’s Multipeer Connectivity Framework, developer Open Garden had to build its own mesh networking technology to enable off-the-grid messaging across Android devices. However, FireChat messaging hasn’t been possible between iOS and Android. That is, until now. Open Garden has just updated FireChat to allow for off-the-grid messaging even between iOS and Android devices. While it declines to reveal the exact details of how it managed to make Apple’s multi-peer framework and its Android mesh network connect with each other, Open Garden has told TechCrunch that its cross-platform capability uses peer-to-peer Wi-Fi and Bluetooth personal area networking.

Source: http://appadvice.com/appnn/2014/06/firechat-now-supports-off-the-grid-messaging-between-ios-and-android

Possess answered 23/3, 2015 at 10:34 Comment(0)
T
2

Something like text chat can be done over BLE, which is open on both platforms. Sending images would be slow, though, since it doesn't have the throughput of Bluetooth Classic.

Tabitha answered 4/2, 2016 at 22:55 Comment(0)
O
1

You'll want to look into iotivity. https://iotivity.org/ This is the new upcoming inter-device library that the Open Connectivity Foundation is focusing on.

AllJoyn is only being maintained now, and has some significant underlying threading problems that will never be fixed, making call-response type workflows between devices prone to crashing and deadlocking the application code. I don't recommend using it.

Ondine answered 22/2, 2019 at 18:31 Comment(4)
But iotivity does not support Android and iOS, does it?Menke
Yeah it does. iOS Build instructions: wiki.iotivity.org/ios_build_instructions. Android: wiki.iotivity.org/android_build_instructionsOndine
@Ondine Those links are broken.Glycerol
Hmm I can't edit the comment but I suppose those may be moving targets - might have to dig around in the iotivity docs: iotivity.orgOndine

© 2022 - 2024 — McMap. All rights reserved.