title: How to disable copy/paste from/to EditText
body: <p>In my application, there is a registration screen, where i do not want the user to be able to copy/paste text into the <code>EditText</code> field. I have set an <code>onLongClickListener</code> on each <code>EditText</code> so that the context menu showing copy/paste/inputmethod  and other options does not show up. So the user won't be able to copy/ paste into the Edit fields.</p>
  
  <pre><code> OnLongClickListener mOnLongClickListener = new OnLongClickListener() {
  
          @Override
          public boolean onLongClick(View v) {
              // prevent context menu from being popped up, so that user
              // cannot copy/paste from/into any EditText fields.
              return true;
          }
      };
  </code></pre>
  
  <p>But the problem arises if the user has enabled a third-party keyboard other than the Android default, which may have a button to copy/paste or which may show the same context menu. So how do i disable copy/paste in that scenario ?</p>
  
  <p>Please let me know if there are other ways to copy/paste as well. (and possibly how to disable them)</p>
  
  <p>Any help would be appreciated.</p>