Is there anyway that I can copy from clipboard, whenever the user copy some texts to clipboard in any application? Should I use services in my code?

Also is it possible to implement the way for api<11 ?

tnx in advance

有帮助吗?

解决方案 2

Check out the Clipboard Manager in Android

Clipboard Contents is lightweight clipboard manager for Android. The app can read contents from the clipboard history so that they can be copied into the clipboard again. Then you can edit, delete, and even share the links. Furthermore, while sharing links you can also shorten them provided URL is installed. The app automatically detects any links in the contents and provides relevant options so that you’ll be able to open or share them directly from the device.

其他提示

Take a look developers android website. They have a Service called CLIPBOARD_SERVICE

http://developer.android.com/guide/topics/text/copy-paste.html

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top