androidtoken icon indicating copy to clipboard operation
androidtoken copied to clipboard

Long Click to copy PIN (diff attached)

Open GoogleCodeExporter opened this issue 11 years ago • 1 comments

What steps will reproduce the problem?
1. Long click the PIN dialog
2. Notice the lack of clipboard copying
3. Make sad face :(

What is the expected output? What do you see instead?
Would expect long pressing to copy the generated pin to the system clipboard.

What version of the product are you using? On what operating system?
Latest.

Please provide any additional information below.

I've created a patch to add this functionality (attached). I've really changed 
3 things:

1. Bump minSdkVersion to "4", this was actually need in the unpatched version 
for the largeScreens... etc android params in the manifest.

2. Removed the 10 second time out (annoyed me that I had to memorize the pin in 
10 seconds and then it's gone forever.

3. Added setOnLongClickListener to the PIN dialog TextView so long pressing the 
PIN copies it to the clipboard (and displays a toast notification that it did 
so).

Not sure if anyone is actively developing this project anymore...

Original issue reported on code.google.com by timekillerj on 25 Aug 2011 at 6:42

Attachments:

GoogleCodeExporter avatar Mar 14 '15 03:03 GoogleCodeExporter

Original comment by [email protected] on 24 Jan 2013 at 2:51

  • Changed state: Accepted

GoogleCodeExporter avatar Mar 14 '15 03:03 GoogleCodeExporter