Reputation: 1171
this is my first question, so be gentle :)
I'm trying to clear the clipboard in Android. I've read doc the doc for the ClipboardManager and the public methods don't seem germane:
http://developer.android.com/reference/android/text/ClipboardManager.html
Any ideas of where I should start?
Upvotes: 7
Views: 53474
Reputation: 1
Android L70. Open up a blank message. Press your finger in the text input box and hold down until the blue marker appears. Select Clip-tray. The items you are trying to delete should appear in there. Press on one item and hold firmly until the red x boxes appear against each item. Then click the red x for each item you want to delete. (If you lift your finger too quickly all this will do is Paste so hold down for longer.)
Upvotes: -2
Reputation: 5
Power off device. Turn device back on. Go to messaging. Long press. you will then see paste, and Clouseau. Hit clip tray then it'll show all copied entries delete. Hope this helps
Upvotes: -3
Reputation: 11
setText(null)
on ClipBoardManager do not Clears the ClipBoard. While pesting on some other location its prompting Paste from clipboard and this option shows all text in the clip board. As per my assumption Clipbioard keeps letest text but its keeping History of Copied text.
Upvotes: 1
Reputation: 5
From the clipboard manager, do one of the following:
To delete a single item: Long-tap item, then tap "Remove Text"
To clear all clipboard history: Press the MENU button, then tap "Clear Clipboard."
Upvotes: -2