Re: [android-developers] Calling StartService multiple times

2012-11-05 Thread TreKing
On Mon, Nov 5, 2012 at 5:02 PM, g...@deanblakely.com wrote: > To my surprise the onCreate event of the service executes again!! I would > expect that only the onStartCommand would execute on subsequent > StartService(i) calls. The service was indeed still running when the call > was made. > > Is

[android-developers] Calling StartService multiple times

2012-11-05 Thread g...@deanblakely.com
I have an activity and a service. When the Activity first starts up I create an Intent for the service and call StartService(i). This properly starts up the service triggering the services' onCreate event and onStartCommand events. Subsequent to that there are times when I want to pass the s