[android-developers] service intent-filter

2010-11-09 Thread Henrik Lindqvist
I've got a IntentService started by an alarm. I also want it to start on other intents, like ACTION_TIME_CHANGED. Do I have to create an BroadcastReceiver that start the service when it receivers the TIME_SET intent, can't the service be started by the intent in the first place. I tried to add

Re: [android-developers] service intent-filter

2010-11-09 Thread Mark Murphy
On Tue, Nov 9, 2010 at 7:51 PM, Henrik Lindqvist henrik.lindqv...@gmail.com wrote: I've got a IntentService started by an alarm. I also want it to start on other intents, like ACTION_TIME_CHANGED. Do I have to create an BroadcastReceiver that start the service when it receivers the TIME_SET

[android-developers] Service Intent Filter Action String Resource

2010-09-13 Thread Dan
I have a Service defined in the manifest with an intent filter that refuses to match when specified as a String resource but works when the literal action is entered in the manifest. Is there any reason I should not be able to use a String resource with an action in an intent filter? For

[android-developers] Service Intent Filter Action String Resource

2010-09-13 Thread Dan
I have a Service defined in the manifest with an intent filter that refuses to match when specified as a String resource but works when the literal action is entered in the manifest. Is there any reason I should not be able to use a String resource with an action in an intent filter? For

Re: [android-developers] Service Intent Filter Action String Resource

2010-09-13 Thread Dianne Hackborn
Don't do that. The string must be in the manifest. (It would make things much more complicated if these strings could change due to locale changes, screen orientation changes, etc.) On Mon, Sep 13, 2010 at 4:06 PM, Dan king...@gmail.com wrote: I have a Service defined in the manifest with an