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

  • SEARCH
  • Home
  • 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 6235751
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:43:30+00:00 2026-05-24T10:43:30+00:00

If I create a remote service in my app then will it accessible to

  • 0

If I create a remote service in my app then will it accessible to other apps too. I want that it should not be accessible to other apps. But I need to create a remote service since it needs to keep running in the background.

  • 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-24T10:43:31+00:00Added an answer on May 24, 2026 at 10:43 am

    If I create a remote service in my app then will it accessible to other apps too.

    Yes. That is the point behind having a remote service.

    I want that it should not be accessible to other apps.

    Then do not make a remote service.

    But I need to create a remote service since it needs to keep running in the background.

    A remote service will not “keep running in the background”, any more than a local service will “keep running in the background”. You cannot write a service that will “keep running in the background” very long. That is because developers have tried writing services that “keep running in the background”, causing problems for users. Users have responded with task killers, and the Android OS has responded by terminating services that run too long.

    If your service is part of the foreground user experience (e.g., a music player), use startForeground() and a Notification to minimize the odds of your service being terminated.

    Otherwise, please redesign your application to not require a service that will “keep running in the background”. For example, to do some work every 15 minutes, use AlarmManager and an IntentService.

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

Sidebar

Related Questions

I want to create a remote webservice for an application that is now avaliable
I want to create a simple login functionality in WP7 app using remote MySQL
I want to create endpoints that can be local in one setup and remote
I'm using jax-rs (jersey) to create a website / web-service that other users can
I have created a simple windows service that periodically checks a remote database via
I am trying to create a ticket for Remote Assistance. Part of that requires
I'm trying to create a branch from a remote tag, but it seems there's
I'm trying to create a local branch that tracks a remote branch. Here's what
I'm working on a web app that is somewhere between an email service and
These are my steps to create a remote git repository and push to it

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.