TrianguloY / SimpleClipboardEditor

Android app by TrianguloY: Simple Clipboard Editor
https://play.google.com/store/apps/details?id=com.trianguloy.clipboardeditor
Other
53 stars 5 forks source link

Add an option to clear clipboard after a certain period #9

Closed krishna8755 closed 1 year ago

krishna8755 commented 1 year ago

Add an option the simple clipboard editor app to automatically clear clipboard data after a period set by the user.

TrianguloY commented 1 year ago

I'm sorry, but that's not possible. Android restricts the clipboard access to the current app only. As soon as you close the app, it cannot access the clipboard. This is also the reason that a 'history' feature is not possible (only for text present the moment the app opens).

The app provides a shortcut to clear it, that you can run as needed (this opens the app, clears the clipboard, and immediately closes it). But if you it to be cleared automatically...sorry but you need root for it (and in that case I'm sure there are better built-in rom modules to do so).

:(

krishna8755 commented 1 year ago

Ok. How about adding a quick panel shortcut for clearing clipboard. So that users can have a easier option to clear clipboard.

TrianguloY commented 1 year ago

Hmm, yes, that's easy. Valid suggestion. Please create a new issue with it!