Hello, I find it strange that my test case derived from ServiceTestCase does not trigger Service.onStartCommand(). It only triggers Service.onStart(). But both methods on the Service class will be called when the service is run normally on the emulator. In both my test case and the normal app, I start the service by calling:
startService(new Intent(getContext(), MyService.class)); Why is there such a difference? Emulator and avd are both 2.1 update 1. Thanks, doug -- 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

