Re: [android-developers] Sending key event to foreground app from background app.
On Wed, Dec 8, 2010 at 1:46 AM, nikki <nikhileshsingh112@gmail.com> wrote:
> My query is I have a service running in a separate application process
> and a activity in another application process running in foreground.
> Can i send key event from the service to foreground activity. If yes
> how can i achieve this.
No, this would be a security violation.
If the foreground activity is one of your own, you can use other means
to communicate with it, such as broadcast Intents.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 3.0.1 Available!
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home