How to observe Android's Clipboard, really?

后端 未结 2 1415
你的背包
你的背包 2021-02-11 06:39

I need to detect Android Clipboard\'s content changes, and register the changes, but I can\'t really understand how to achieve such result.

There are a lot of clipboard

2条回答
  •  生来不讨喜
    2021-02-11 07:14

    According to this thread, at least for the Clipper program, they do indeed poll the clipboard - every 5 seconds. There doesn't seem to be anything in the API to do it any other way.

提交回复
热议问题