[android-developers] null Intent in onStartCommand

2013-02-03 Thread Jake Colman
According to the docsou can get a null intent if the service is restarted by Android. Simple question: do I just ignore the intent since I can't do anything with it anyway? Am I supposed to know what to do with it? If not, why does Android bother doing it? -- Jake Colman -- Android Tinkerer

Re: [android-developers] null Intent in onStartCommand

2013-02-03 Thread TreKing
On Sun, Feb 3, 2013 at 12:48 PM, Jake Colman jake.col...@gmail.com wrote: Simple question: do I just ignore the intent since I can't do anything with it anyway? Am I supposed to know what to do with it? If not, why does Android bother doing it? That depends on your use case. Android