Re: [android-developers] Keeping it fresh, back to service...
On Sat, Jul 14, 2012 at 4:50 PM, Cythes <cytheshicale@gmail.com> wrote:
> Basically the program runs starts the service but wont start the intent in
> the service. Any ideas?
Nothing calls dispatchKeyEventTake2() in your service.
And it is a good thing nobody does call dispatchKeyEventTake2() in
your service, as you have an infinite recursion for anything other
than VOLUME_DOWN, since you call your own dispatchKeyEventTake2()
again in the default case.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 3.8 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