以MultipeerConnectivity为基础, 实现了简单的蓝牙聊天(需要两个iphone,一台先打开天线,另一台再搜索设备,这样连接后就可以自然聊天了)。有文字,图片,语音,但是图片没有适配大小,语言没有压缩,希望大神可以改进。
经过小编的测试,两台设备既可以在同一WIFI下连接,也可以通过蓝牙来连接。在同一WIFI下的传输会比较快,蓝牙下传输图片时可能会比较慢或由小问题,但是还是可以文字和语音通讯。总的来说基本通讯功能是能够实现。有兴趣的同学请来参考参考。
BlueTalk蓝牙聊天
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.