Mark Murphy wrote: > Luis wrote: >> I'd like to know if, in the opposite way, it is possible to build a >> BACKGROUND application that induces UI events in the system. For >> example, suppose that I have an application in charge of receiving SMS >> with commands (or any other type of message) and executing these >> commands over the local system (restricted to UI events, like entering >> menus or focusing widgets). >> >> Is it possible? > > Fortunately, no.
To clarify: "executing these commands over the local system" is what spyware does. In fact, your description of what you want to do pretty much describes a piece of spyware taking remote control over a phone. You can create test cases, that only while under test, and only for your activities, can simulate user input like this. Attempting to hijack other applications UIs (intercepting input per your the topic thread, or taking over input per this message) will not be looked upon kindly. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in NYC: 10-11 April 2010: http://guruloft.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

