访问剪切板中的简单字符串
ClipboardManager clipboardManager=(ClipboardManager)getSystemService(Context.CLIPBOARD_SERVICE);
//设置文本
clipboardManager.setText(msg);
//取文本
String msg = clipboardManager.getText().toString();
访问剪切板中的简单字符串
ClipboardManager clipboardManager=(ClipboardManager)getSystemService(Context.CLIPBOARD_SERVICE);
//设置文本
clipboardManager.setText(msg);
//取文本
String msg = clipboardManager.getText().toString();