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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:42:36+00:00 2026-05-25T11:42:36+00:00

I read the android developer guide. I got idea about android applcations a lot.

  • 0

I read the android developer guide. I got idea about android applcations a lot. But now I really want to develop one application. I have some basic questions in my mind. I would be glad to get their answers from experts.

  1. In my application I need to check for the notification when the SIM card is removed from the phone and when put back. To check this which one will be the good idea? Is it a timer I should implement in my application or should I create a service which can respond to SIM card removal.

  2. If I implement a timer to do a certain job at regular time interval, will the timer still can run if all the activities are 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-25T11:42:36+00:00Added an answer on May 25, 2026 at 11:42 am
    1. On all phones that I’ve seen in order to remove SIM the phone must be shut down, because battery usually blocks the SIM slot. So basically your app can not be notified about SIM removal because phone is off. What you can do is start your Service after phone restarts, via BroadcastReceiver listening for BOOT_COMPLETED: see this tutorial. Service then checks if SIM is available via TelephonyManager.getSimState().

    2. Not necessarily. Android OS decides when to kill off and remove from memory the inactive apps. There is no guarantee that your inactive (e.g. in the background) app will not be removed. To guarantee scheduled execution look at AlarmManager.

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

Sidebar

Related Questions

I've read the guide about application data backup in Android here http://developer.android.com/guide/topics/data/backup.html , but
I've read through the FAQ of Android Dev Guid (http://developer.android.com/guide/appendix/faq/commontasks.html#opennewscreen ) but I'm not
I read the http://developer.android.com/guide/practices/screens_support.html.com ? but couldn't get how to apply this, can anyone
I read the official document about supporting multiple screens http://developer.android.com/guide/practices/screens_support.html According to that document,
Hy! I read this http://developer.android.com/guide/developing/projects/projects-eclipse.html but when i press add library the downloaded libary
Ok so I've read the Custom Dialog explanation on the And Dev website http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog
I read this http://developer.android.com/resources/tutorials/notepad/index.html and now try to create my own simple example. For
I have read http://developer.android.com/guide/practices/screens_support.html and http://developer.android.com/reference/android/util/DisplayMetrics.html and I somehow left with a gap here.
In a Android application I want to use Scanner class to read a list
I created one application to read all the contacts stored in android 2.0 emulator.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.