android - 什么是蓝牙?

标签 android bluetooth android-bluetooth

我是 android 开发平台的新手。 我遇到了一行代码

IBluetooth bluetoothProxy = BuetoothAdapter.getDefaultAdapter().getBluetoothService(null);

在蓝牙 Socket.java 类中。

很高兴知道幕后究竟发生了什么。

最佳答案

在 Google 上搜索“IBlutooth android”会给出指向 the source code 的链接.它是一个写在 Android Interface Definition Language (AIDL) 中的接口(interface)。 . (我不得不再次搜索以找出 AIDL 是什么。Google 太棒了!)

关于android - 什么是蓝牙?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35465391/

相关文章:

java - 如何通过蓝牙从 Android 应用程序向电脑发送键盘命令?

android - 如何通过蓝牙将音频从一台 Android 设备流式传输到另一台 Android 设备?

Android:强制蓝牙

android - SwitchCompat fontfamily 不会改变

android - Webview 中的 HTML 按钮宽度百分比

java - 使用没有 "injects"指令的 Dagger 模块

ios - 从 iPhone 应用程序中的 iWatch 触发 Action 以控制蓝牙设备

ios - CoreBluetooth Central Manager 无法在后台发现外围设备

android - 如何在页面加载时从 TextInputLayout 中移除焦点?

c# - Android(Xamarin) 如何通过蓝牙从手环获取数据(脉冲)