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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T11:33:57+00:00 2026-06-16T11:33:57+00:00

I am new to android development and so please apologize if my question is

  • 0

I am new to android development and so please apologize if my question is very simple.

I am trying to build an android app which is a location based app, through which users (say Person A) can track another users (say Person B) location continuously.

In app settings, we have an option called ‘Force stop’. So from the above case, anytime Person B can kill my running app using this ‘Force stop’, so that his location will not be properly monitored by Person A.

I need to avoid this. I have to continuously monitor Person B’s location and make him to avoid killing my app using ‘Force Stop’. how can I achieve this?

  • Is there any way in android to call a particular method (so that I can have some alert code to person A) when Person B clicks the ‘Force Stop’ button.

  • Or is there any way through which, even if Person B stops my app, I can alert the user and restart my app again!

Suggestions please.

Thank You.

  • 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-06-16T11:33:58+00:00Added an answer on June 16, 2026 at 11:33 am

    There’s no way that user B’s app can notify user A that user B clicked “Force Stop”, because “Force Stop” brings everything to a halt immediately.

    However, user A can infer it if user A’s app is expecting regular updates from user B. If user A’s app pings user B every minute, and after 1 minute user B’s app does not respond, then user A’s app can assume that user B’s app is “dead”. This is probably a better way to do it, anyway. Other things besides “Force Stop” can cause user B’s app to be unavailable: user B turns off the device, user B can no longer communicate with user A, Android considers user B’s app to be low priority and kills it, user B app crashes because of a bug, etc.

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

Sidebar

Related Questions

I am new to Android development. Please excuse me If my question is very
I am new in android development.I am creating an android app in which the
I am new to android development. I am developing an android app, in which
I am new to android app development.I am developing an android app which is
Hi I'm very new to android development, and want to create an app with
Am very new to Android apps development. In my new Android app i want
I am new to android app development so please any answers would be great
I'm very new to Android development and just started to study. What I'm trying
I am very new to Android development. I am converting my iPhone app to
I am new to android development . I'm trying to download and run the

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.