Set text and get text from clipboard [closed]
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . In Android, I need some code to "get text" and "set text" in the clipboard. For example I want to put "asd" in memory and after that paste it from clipboard. 回答1: ClipboardManager clipboard = (ClipboardManager)