ClipboardManager clipboard = (ClipboardManager)
mContext.getSystemService(Context.CLIPBOARD_SERVICE);
ClipData clip = ClipData.newPlainText("mmsContent",mSmsContentConst);
clipboard.setPrimaryClip(clip);
Toast.makeText(mContext, "已经拷贝到剪切板", Toast.LENGTH_SHORT).show();
把文本拷贝到剪切板——android
最新推荐文章于 2023-10-18 11:05:23 发布