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 7561453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:09:59+00:00 2026-05-30T13:09:59+00:00

I am developing an app where I start a service if a particular feature

  • 0

I am developing an app where I start a service if a particular feature (in my app) is enabled by user.
I want to keep running this service even after user quits my app.
How can I do this?
plz help

  • 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-30T13:10:00+00:00Added an answer on May 30, 2026 at 1:10 pm

    Right from developer.android.com

    A service is a component that runs in the background to perform
    long-running operations or to perform work for remote processes. A
    service does not provide a user interface. For example, a service
    might play music in the background while the user is in a different
    application, or it might fetch data over the network without blocking
    user interaction with an activity. Another component, such as an
    activity, can start the service and let it run or bind to it in order
    to interact with it. A service is implemented as a subclass of Service
    and you can learn more about it in the Services developer guide.

    So, as long as you create a service, and the user exits your app it will still run. Just like the example above.

    This should give you all the information you need:
    https://developer.android.com/guide/components/services.html

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

Sidebar

Related Questions

Greeting, I'm a C# programmer guy. I'm planning to start developing app for iphone
I've been developing my first iPhone app part-time and would like to start using
I'm developing web app that user can save his/her work to server. The data
i am developing app in Blackberry which have GPS Functionality. so first i want
I am developing a windows service application and I'm running into a problem concerning
I'm developing a scheduling app, it reminds user of things to do during a
I am about to start designing/developing a client-server iOS app. I am leaning towards
I have an accelerometer app I am developing for Android, and I want to
I am developing a feature in my app where I need to store the
I'm developing an android app (if you want more info http://www.txty.mobi ) and I

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.