Kaiser Kim
Kaiser Kim

Reputation: 21

Is it possible to inject an event within my service to other apps without root?

I'm making an android application that will inject touch events based on motions that I make. So far, I can use instrumentations to inject events but only within my application. I want to be able to use this service in other apps as well. I've read that this is possible with root but is there a way without it? Thank you!

Upvotes: 0

Views: 130

Answers (2)

Duster2503
Duster2503

Reputation: 31

It is possible from a platform signed application/service to inject the keys/events to other applications. But I suppose the platform signatures change for different manufacturers !!

Upvotes: 1

Gabe Sechan
Gabe Sechan

Reputation: 93658

No, it isn't. And the reason for this is security. If you could do that, you could screw up or access all sorts of data in the other apps. They try to avoid that.

Upvotes: 0

Related Questions