07-17-2012 12:30 PM
While executing below code in my app, i get controlled access exception on device only.
EventInjector.KeyEvent inject = new EventInjector.KeyEvent(EventInjector.KeyEvent.KEY_
DOWN, Characters.ESCAPE, 0); inject.post();
On simulator i dont see this.How to fix it on device?
Solved! Go to Solution.
07-17-2012 12:43 PM - edited 07-17-2012 01:23 PM
Does your application have permission to inject events? THis is the Input Simulatopn option if you are checking permissions?
There is a ApplicationPermissionsDemo sample which is very useful - I suggest you have a look att hat.