Hello,

I am trying to develop an application to provide remote of my Android
phone onto a desktop. Now I am able to send the pointer and key events
to the listening thread, but when I try to use the WindowManager API's
injectKeyEvent & injectPointerEvent, then I receive an error for
Permission denied.

I even tried to use the permission "INJECT_EVENTS" but I am unable to
grant this permission to my application. I tried googling it and found
out, that we cannot send events from one application to any other
application. So is there any way I could do so? I want to use the
above mentioned API's to do the action that was performed on the
desktop.

Thanks in advance

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to