[android-developers] Re: Android JUnit Testing of Paste

2010-11-05 Thread Zymurgeek
Hi Elk, Yes, I wanted to do a paste into a field just as a user would: long press for context menu, then select Paste. Particularly, I had identified a problem with pasting a value into a field rather than entering with individual key presses (my bad, not an Android problem). This isn't a funct

[android-developers] Re: Android JUnit Testing of Paste

2010-11-05 Thread A. Elk
Can you clarify? You want to simulate a long press in an edit box, followed by a selection of the "paste" menu item? If so, get hold of the Android 2.2 SDK documentation. In it, under the Resources tab, there's a tutorial on unit testing an Activity: http://developer.android.com/resources/tutoria