In my app (under B4XPages) I want to create a notification as a button function in which two action buttons should offer the option of placing a text string in the clipboard. I then want to paste the respective value in a notes app after copying, for example. Up to this point everything works as desired. In debugging I can see that the correct values are placed in the clipboard - if I paste the value in the other app I always get the same value, usually the one copied first.
For testing purposes I have added a text field to the layout in my source application. If I now carry out the two copy actions one after the other from the notification, I always get the correct value from the clipboard when pasting.
What is my mistake?
For testing purposes I have added a text field to the layout in my source application. If I now carry out the two copy actions one after the other from the notification, I always get the correct value from the clipboard when pasting.
What is my mistake?