File transfer between android and iPhone via bluetooth?

假如想象 提交于 2019-12-18 04:14:45

问题


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?

Thanks for your help


回答1:


The Question from user1080731 was - Is it possible to transfer Files Via Bluetooth between Android and 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.

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)




回答2:


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.).

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.

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

I hope it may help you.



来源:https://stackoverflow.com/questions/8707753/file-transfer-between-android-and-iphone-via-bluetooth

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!