我是 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/