I would like to prevent the users of my Android application to copy and paste data from my application to anywhere else but within the application itself. Given that the clipboard is one of the more common ways for exposing sensitive data, I am wondering if there is any way to limit the scope of the clipboard, so that it can only be used within the application?
I've already created a solution to prevent copy/paste in the application's text components (TextView, EditText...), but I am looking for a more efficient approach to this problem. I've been thinking about clearing the clipboard on exiting the application, but I don't want to do that, since the user might have important information he/she wants to keep in the clipboard.
Has anyone else faced a similar situation before? Do you have any ideas on how to do this?
Thanks!