seanicus
seanicus

Reputation: 1171

Clear Clipboard on Android

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

Answers (6)

Julie
Julie

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

user4577518
user4577518

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

Sanjeev
Sanjeev

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.

  • Copy Text From any Edit text
  • Press Home->compose new msg
  • long press edit text view
  • Paste from clipboard (All text comes from the past copy)

Upvotes: 1

emeraldhieu
emeraldhieu

Reputation: 9439

Try setText(null) on ClipBoardManager.

Upvotes: 1

memyselfandi
memyselfandi

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

Basic
Basic

Reputation: 26766

have you considered just setting it to empty string?

Upvotes: 5

Related Questions