After having a look at the source code, I would think that this is supposed to work.
See sendServiceArgsLocked (http://www.google.com/codesearch/p? hl=en&sa=N&cd=1&ct=rc#uX1GffpyOZk/services/java/com/android/server/am/ ActivityManagerService.java&l=8950) which are later converted to onStart() calls in ActivityThread. handleServiceArgs (http:// www.google.com/codesearch/p?hl=en&sa=N&cd=1&ct=rc#uX1GffpyOZk/core/java/android/app/ActivityThread.java&l=2550). However, other people seem to have had the same experience as I, so I assume this is not a problem with my code. http://code.google.com/p/android-random/source/browse/trunk/TestKeepAlive/src/org/devtcg/demo/keepalive/KeepAliveService.java (uses settings to remember whether the service was started). --~--~---------~--~----~------------~-------~--~----~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---