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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:15:16+00:00 2026-05-13T08:15:16+00:00

I am new to Android, and I need some advices for start up. I

  • 0

I am new to Android, and I need some advices for start up.
I want to build an application, which will show up, when the user gets into some hot situation.

By hot situation I mean:

  • the GPS/cell coordinates are in known zone;
  • known Bluetooth device detected;
  • known Wi-Fi network detected;
  • weather info has change;

I see something running in background and when one of the clauses hit, it will trigger and open the app.

  • How to get started?
  • How do I make sure my app won’t be shut down?

As I read somewhere that Android OS will terminate apps if memory out occurs or consumes too much, and my app would consume a lot, making repeated measures/checks to see if situation changed.

Regards,
Pentium10

  • 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-13T08:15:17+00:00Added an answer on May 13, 2026 at 8:15 am

    You need to use a Service for the part of your application that runs in the background.

    You might find the Application Fundamentals document in the Android Developer Documentation helpful. It says this about Services:

    A service doesn’t have a visual user interface, but rather runs in the background for an indefinite period of time. For example, a service might play background music as the user attends to other matters, or it might fetch data over the network or calculate something and provide the result to activities that need it.

    In you case you might find the LocationManager Service helpful. It is a system Service which will you can use to notify your application based on GPS position.

    However, I think you’ll have to write your own Services to monitor Wi-fi, Bluetooth and weather.

    You can use the AlarmManager Service to get your Service to perform particular tasks at certain intervals.

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

Sidebar

Related Questions

Somewhat new to android, need some help with services. I have a service which
I am new in Android. Now I need EditText which should be no more
I am new to android application development. I need a solution for setting random
I'm working on application and I need some suggestions which is the best way
I am a new developer on the android and need some clarifications on the
i am new to java and android. I need some help with my main.xml
I am new to android programming and I need some expert advice on the
I'm new to android programming (writing my first app now) and I need some
I'm pretty new to android-programming. Can you help me, what i need to show
I'm pretty new to android can some one give me a better idea which

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.