在Android的蓝牙编程 [英] Bluetooth programming on Android

查看:124
本文介绍了在Android的蓝牙编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个使用蓝牙与电脑进行通信Android上的应用程序。我想从Android应用程序发送短信,接收来自PC的应用程序文本/事件。任何人都可以指导我如何使两者沟通?或引导我的一些资源?

I am trying to create a app on android that uses bluetooth to communicate with my PC. I want to send text from android app and receive text/events from PC app. Can anyone guide me on how to make the two communicate? or guide me to some resource?

推荐答案

的Andr​​oid文档通过几乎所有你需要散步。而且还有一个的href="http://developer.android.com/resources/samples/BluetoothChat/index.html" rel="nofollow">蓝牙聊天示例应用程序自带的SDK。

The Android documentation walks through almost everything you'll need. And there is also a Bluetooth chat sample application that comes with the SDK.

这篇关于在Android的蓝牙编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆