[android-developers] JUnit, TouchUtils, Drag&Drop and INJECT_EVENTS permission

2012-07-15 Thread Alex Stockinger
Hi all, I am having serious trouble JUnit testing an Activity that uses the API Level 11+ Drag&Drop Framework. I am using TouchUtils.dragViewTo() to emulate a drag that in turn causes the Activity under test to start a drag using the API Level 11+ call View.startDrag() The test aborts with a

[android-developers] Re: how to unit test drag n drop - honeycomb

2012-07-15 Thread Alex Stockinger
I am starting Android JUnit Testing at the moment and I am running in exactly the same issue. The first event (DOWN) seems to get processes properly, but the next event (MOVE) results in the mentioned security exception. Granting the requested permission resulted in no joy as well. Did you solv