以下两种连接蓝牙设备的方式有什么区别:1)UUIDuuid=UUID.fromString(Values.SPP_UUID);//StandardSerialPortServiceIDmmSocket=mmDevice.createRfcommSocketToServiceRecord(uuid);2)Methodm=mmDevice.getClass().getMethod("createRfcommSocket",newClass[]{int.class});mmSocket=(BluetoothSocket)m.invoke(mmDevice,1);我发现第一种方法总是不能工作,