> On Apr 14, 3:20 am, MobDev <developm...@mobilaria.com> wrote: >> I am just making a wild guess here, and I hope more experience people >> will support or deny it (Mark, are you awake yet ? ;) ) but this >> might be a good scenario for a Service ?
Nope, I'm not awake. Streets Of Boston wrote: > Depends. > > But since the OP mentioned Notifications, i guess the search results > should be presented even when the user left the application. If so, > yes, then a Service would be best. > > Still, i would use an AsyncTask (inside the Service) to do the actual > work. This way you'll be sure that the client's call to the Service > will never be blocking. Agreed. A service is a container for logic; a service needs asynchronous operations as much as an activity does. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org -- 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 To unsubscribe, reply using "remove me" as the subject.