I use KeePass on my PC and KeePassDroid on my Android phone to manage the hundreds of unique passwords for all the sites and services I use. I keep the password database synced using Dropbox on both PC and Android.
Logging into sites and services on the phone can be a pain because of the complexity of the random passwords I use. KeePassDroid is a bit of a speed bump. It occurred to me that I might be able to send a password to my phone’s clipboard using C2P. Ideally, I’d write a plugin for KeePass that could do what C2P does, but I came up with something else.
What I needed was a single text box in a web page that I control and trust. I made the page, saved it on my hard disk, and launched it in a browser. Here’s that file:
But C2P didn’t like the fact that the page was served locally, off my hard disk, and not from a web server. It refused to show me the standard C2P options in the right-click context menu. Perhaps I’ll suggest a patch to C2P for this in the future. But for now…
I dragged the HTML file to the Public folder of my Dropbox account, right clicked it, and via the Dropbox context menu, got a public link for it. I’ll let Dropbox host my simple page so that C2P will work. I created a bookmark in my Chrome toolbar named “C2PHack”.
Now whenever I need to send arbitrary info to my phone, I can click my bookmark, paste my text into the textbox, highlight it, and send it to the phone.