I am trying to create an application that will have a service running in the background that will be capable of injecting touch screen events into whatever activity is running. I am able to inject events into an Activity that is part of my application by calling (motionEvent); However if I try to do this without an activity from my application running I get a permission error saying that I don't have the INJECT_EVENTS permission. I've added this permission to my manifest like this: <uses-permission android:name="_EVENTS"></uses-permission> Its still throwing the same permission exception though. After a bit of searching I've gotten the answer that in order to receive the INJECT_EVENTS permission your app must be signed by the same signature that the system is signed with. I am unclear however what exactly this means. I am going to have to find a custom rom build it and sign it with the same signature that the application is signed with. Then install the custom rom on my device, then install my app and I'll be able to inject the touch events correctly? If this is the case am I better off starting with a custom rom that is already put together, like one from this page Or is it a situation where I am going to need to grab a git copy of the android project and build the whole thing myslef? And either way does anyone know of a place you could point me that would get me working in the right direction to make this happen?
Knowledge of how to give cattle injections or shots, be it sub-subcutaneously (SQ; under the skin), intramuscularly (IM; directly into the blood supply of the muscle), or intravenously (IV; directly into the vein, usually the jugular vein), is very important in order to be able to vaccinate or treat cattle with vaccines or medicines, respectively. A cow, bull, heifer, steer or calf does not have to be sick in order to be given an injection, many cattle that are perfect healthy are required to get injections or shots for annual vaccinations or booster shots.