I was thinking of developing an iPhone and android application so that they can share data between each other via bluetooth. Is it possible? If yes how?
我正在考虑开发一个iPhone和Android应用程序,以便他们可以通过蓝牙在彼此之间共享数据。可能吗?如果有,怎么样?
Thanks for your help
谢谢你的帮助
2 个解决方案
#1
5
The Question from user1080731 was - Is it possible to transfer Files Via Bluetooth between Android and iPhone.
来自user1080731的问题是 - 是否可以在Android和iPhone之间通过蓝牙传输文件。
And I think that the answer is NO.
我认为答案是否定的。
The App referred to in the previous responses does not seem to use Bluetooth (the App's description is misleading) In the demo video for the app - It used Bluetooth when talking between 2 iOS devices, but uses WiFi when talking between Android and iPhone.
在之前的回复中提到的应用程序似乎没有使用蓝牙(应用程序的描述具有误导性)在应用程序的演示视频中 - 它在2个iOS设备之间通话时使用蓝牙,但在Android和iPhone之间通话时使用WiFi。
in iOS the only possibility is to use the GameKit APIs (primarily meant for peer to peer gaming) to talk to other iOS device using Bluetooth. So you can potentially write an App over this API to do file transfer between iOS devices, (But Gamekit will not work for iOS to Android)
在iOS中,唯一的可能性是使用GameKit API(主要用于点对点游戏)与使用蓝牙的其他iOS设备通信。因此,您可以通过此API编写应用程序以在iOS设备之间进行文件传输(但Gamekit不适用于iOS到Android)
#2
-6
You can use File Transfer Profile of bluetooth for transferring files between bluetooth devices. This is generic for bluetooth not for Operating system(Android, iOS, Windows, etc.).
您可以使用蓝牙的文件传输配置文件在蓝牙设备之间传输文件。这对于蓝牙而言并非适用于操作系统(Android,iOS,Windows等)。
Coming to your requirement, in both Android and iOS the framework will provide API to use the bluetooth profiles. Just read about bluetooth profiles and OS framework you will get ideas to design your app.
根据您的要求,在Android和iOS中,框架将提供使用蓝牙配置文件的API。只需阅读蓝牙配置文件和操作系统框架,您就可以获得设计应用程序的想法。
If you are interested, see the Bluetooth Chat App available at Android Developers website, you will get good knowledge about how to use bluetooth in Android. But i don't know about iPhone(iOS) framework. I experienced the bluetooth in Android and at firmware development for embedded products. If you want more in formation about bluetooth profiles see this link
如果您有兴趣,请参阅Android开发者网站上提供的蓝牙聊天应用程序,您将获得有关如何在Android中使用蓝牙的良好知识。但我不知道iPhone(iOS)框架。我在Android和嵌入式产品的固件开发中体验过蓝牙技术。如果您想了解有关蓝牙配置文件的更多信息,请参阅此链接
I hope it may help you.
我希望它可以帮助你。
#1
5
The Question from user1080731 was - Is it possible to transfer Files Via Bluetooth between Android and iPhone.
来自user1080731的问题是 - 是否可以在Android和iPhone之间通过蓝牙传输文件。
And I think that the answer is NO.
我认为答案是否定的。
The App referred to in the previous responses does not seem to use Bluetooth (the App's description is misleading) In the demo video for the app - It used Bluetooth when talking between 2 iOS devices, but uses WiFi when talking between Android and iPhone.
在之前的回复中提到的应用程序似乎没有使用蓝牙(应用程序的描述具有误导性)在应用程序的演示视频中 - 它在2个iOS设备之间通话时使用蓝牙,但在Android和iPhone之间通话时使用WiFi。
in iOS the only possibility is to use the GameKit APIs (primarily meant for peer to peer gaming) to talk to other iOS device using Bluetooth. So you can potentially write an App over this API to do file transfer between iOS devices, (But Gamekit will not work for iOS to Android)
在iOS中,唯一的可能性是使用GameKit API(主要用于点对点游戏)与使用蓝牙的其他iOS设备通信。因此,您可以通过此API编写应用程序以在iOS设备之间进行文件传输(但Gamekit不适用于iOS到Android)
#2
-6
You can use File Transfer Profile of bluetooth for transferring files between bluetooth devices. This is generic for bluetooth not for Operating system(Android, iOS, Windows, etc.).
您可以使用蓝牙的文件传输配置文件在蓝牙设备之间传输文件。这对于蓝牙而言并非适用于操作系统(Android,iOS,Windows等)。
Coming to your requirement, in both Android and iOS the framework will provide API to use the bluetooth profiles. Just read about bluetooth profiles and OS framework you will get ideas to design your app.
根据您的要求,在Android和iOS中,框架将提供使用蓝牙配置文件的API。只需阅读蓝牙配置文件和操作系统框架,您就可以获得设计应用程序的想法。
If you are interested, see the Bluetooth Chat App available at Android Developers website, you will get good knowledge about how to use bluetooth in Android. But i don't know about iPhone(iOS) framework. I experienced the bluetooth in Android and at firmware development for embedded products. If you want more in formation about bluetooth profiles see this link
如果您有兴趣,请参阅Android开发者网站上提供的蓝牙聊天应用程序,您将获得有关如何在Android中使用蓝牙的良好知识。但我不知道iPhone(iOS)框架。我在Android和嵌入式产品的固件开发中体验过蓝牙技术。如果您想了解有关蓝牙配置文件的更多信息,请参阅此链接
I hope it may help you.
我希望它可以帮助你。