我正在制作应该从用户数据生成文件的 flutter web 应用程序。并且可以选择下载输出文件。
但是我找不到任何适用于 flutter web 的选项/包:(
有人可以帮我吗?
我在连接蓝牙RfComm时遇到问题。我能够连接到蓝牙并进行通信,但有时无法连接。我正在使用标准的uuid-00001101-0000-1000-8000-00805F9B34FB
请帮帮我:)
private class ConnectThread extends Thread {
private BluetoothSocket mmSocket;
private BluetoothDevice mmDevice;
private ConnectThread(BluetoothDevice device) {
Log.d(TAG, "in ConnectThread");
// Use a temporary object that is later assigned to mmSocket,
// because mmSocket is final
BluetoothSocket tmp = null;
mmDevice = device;
// Get a BluetoothSocket to connect with the given BluetoothDevice
try {
Log.d(TAG, "createRfcommSocketToServiceRecord for " + mmDevice.getName());
// MY_UUID is the app's UUID string, also used by the server code
tmp = mmDevice.createRfcommSocketToServiceRecord(MY_UUID);
//tmp = …Run Code Online (Sandbox Code Playgroud)