void copyIntent() { ClipboardManager cm = (ClipboardManager) getSystemService(Context.CLIPBOARD_SERVICE); Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com")); ClipData clip = ClipData.newIntent("intent", intent); cm.setPrimaryClip(clip); Toast.makeText(this, "Intent Copied", 0).show(); }