title: Using clipboard with Phonegap in Android
body: <p>How could I copy text to clipboard with PhoneGap? I found <a href="https://github.com/phonegap/phonegap-plugins/tree/master/Android/ClipboardManager" rel="nofollow">this</a> plugin, but it seems to be outdated.</p>
  
  <p>I tried to create my own plugin, but I get this error:
  <code>Can't create handler inside thread that has not called Looper.prepare()</code></p>
  
  <p>I found some answers fixing that error, but I'm not too experienced with Java, and I couldn't fix the code by myself. You can view my code from <a href="http://pastebin.com/1eydgdL7" rel="nofollow">here</a>, it is just modified version of the ClipboardManager plugin.</p>
  
  <p>I'm using Cordova (PhoneGap) version 1.9.0, and I'm also using jQuery Mobile.</p>