Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3966646
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:37:33+00:00 2026-05-20T03:37:33+00:00

First off, this is not aimed at perpetuating bloatware and other bad practices. I

  • 0

First off, this is not aimed at perpetuating bloatware and other bad practices. I know many will say “don’t do that” but I promise to respect users.

I am building an app where I would like a service to run indefinitely. A couple questions:

  1. Are services listed in Advanced Task Killer? Or just Activities?

  2. What’s with the services that are always running (Settings -> Apps -> Running Services) like Skype, Swype, etc? I realize Skype could be a process with higher permissions than any Market apps (like packaged into kernel by Verizon or HTC), but Swype was something I installed (Beta for Incredible). So how does that manage to always run in the background? Furthermore – these items are not listed by Advanced Task Killer.

  3. How does Pandora work. It keeps running even when you Task Kill it? Furthermore it’s not re-launching itself because the music keeps playing smoothly.

Ideally I would like to build a Pandora-esque app where the users explicity hit the OFF button, but it will survive trigger happy task killers like myself. This would be a feature users are aware of / would agree to.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T03:37:33+00:00Added an answer on May 20, 2026 at 3:37 am

    I am building an app where I would like a service to run indefinitely.

    Wherever it can be avoided, this is not recommended. By default, it doesn’t work, as Android gets more and more aggressive with each passing release about stopping this practice for non-foreground services (see below).

    So how does that manage to always run in the background?

    Swype is an input method editor. As such, even if something shuts it down, it will start up again shortly thereafter, to serve EditText widgets. I imagine that Android might not bother shutting down this service since it is reasonably likely to need it again in short order, but that’s just a guess.

    How does Pandora work. It keeps running even when you Task Kill it?

    Task killers were de-fanged on Android 2.2, so perhaps the problem is that the task killer simply is not working on your device.

    Beyond that, you would have to ask the authors of Pandora, or Advanced Task Killer, neither of whom necessarily are monitoring StackOverflow.

    Ideally I would like to build a Pandora-esque app where the users explicity hit the OFF button, but it will survive trigger happy task killers like myself. This would be a feature users are aware of / would agree to.

    Use startForeground(), to trade off Android not shutting you down (which otherwise will happen) with having a Notification visible so the user remembers “oh, yes, I did agree to let this service run indefinitely, because it is constantly delivering value to me, rather than just being the product of some sloppy coder who couldn’t be bothered to use AlarmManager“. Also, usually that Notification gives the user easy access to your aforementioned OFF button.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First off, this question is ripped out from this question. I did it because
First off, I apologize if this doesn't make sense. I'm new to XHTML, CSS
First off, let me preface this question by stating that I'm really a pretty
First off, there's a bit of background to this issue available on my blog:
First off, let me start off that I am not a .net developer. The
First off, I am using Windows XP. I have multiple hard drives and it
First off, I understand the reasons why an interface or abstract class (in the
First off if you're unaware, samba or smb == Windows file sharing, \\computer\share etc.
First off: I'm using a rather obscure implementation of javascript embedded as a scripting
First off, I'm working on an app that's written such that some of your

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.