我的Android手机配对到我的Windows 11 PC.在它的链接到Windows是“看到”我的桌面,并指出它已连接.在我的Windows 11 PC设置-剪贴板设置为同步,并在蓝牙下“看到”我的手机.在我的示例中,你会注意到,我发送一个AnnotedString.我感觉这是我的问题
val clipboardManager = LocalClipboardManager.current
val output = "Hello World"
clipboardManager.setText(AnnotatedString(output.toString()))
字符串
2条答案
按热度按时间0dxa2lsx1#
试试这个:
字符串
这样
型
xeufq47z2#
字符串
要从Windows剪贴板复制,请将“Swift Key”应用程序添加到您的Android手机。它通过剪贴板属性增强了键盘