Android Question How to detect clipboard copy in background

Reminisce

Active Member
Good morning everyone, I am working on an app that connects to a b4j server using socket and then sends some command to my b4j app via asyncstreams.

These commands triggers different operations, such as shutdown, lock, hibernate, etc.

Now i have added the copy and paste text on both platforms it works well!, but how do i detect if any text is being copied to the andriod
clipboard when my app is in the background.

Secondly, On my B4J program too, I need to be able to detect it so i can automatically send the clipboard text to the
andriod device and vice versa.

This is really important.
 
Top