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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:34:29+00:00 2026-05-31T11:34:29+00:00

I am working on alarms and making an app for task reminder. I am

  • 0

I am working on alarms and making an app for task reminder.
I am showing notification at scheduled time by user.
But when alarm rings , notification appears . Then I switched off my phone , and again when I switched , on the notification get disappeared(doesnt show the notification).
while in the case of SMS notifiaction(default android implementation) it does not get disappeared until we drag the notification.

I want the same as like sms notification.
What should I do?

  • 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-31T11:34:30+00:00Added an answer on May 31, 2026 at 11:34 am

    Notifications are not persistent across device boots. If they reappear for certain apps, it’s because the app is starting on boot and re-creating them.

    You should define a receiver that determines if the notification should be present and creates it if necessary, and start this receiver on device boot.

    Set its intent filter for,

    android.intent.action.BOOT_COMPLETED
    

    and use permission,

    android.permission.RECEIVE_BOOT_COMPLETED
    

    and make sure your receiver has permission,

    android.permission.RECEIVE_BOOT_COMPLETED
    

    Like this,

    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
    ...
    <receiver ... android:permission="android.permission.RECEIVE_BOOT_COMPLETED">
      <intent-filter>
        <action android:name="android.intent.action.BOOT_COMPLETED"/>
       </intent-filter>
    </receiver>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am making an app where the user can set an alarm based on
I am trying to get a reminder/alarm Service` working in my note/todo app. I
I'm diving into iOS development and have been working on an alarm clock app
I am setting an alarm for my reminder app: PendingIntent sender = PendingIntent.getBroadcast(AddToDoList.this, Integer.parseInt(DBHelperClass.getMaxPrimaryId()),
I am working on an app that incorporates user-generated events. As the app currently
I'm working on an alarm/reminder application and want to show a custom alarm view
I am working on an alarm application and I am using local notification for
Okay, So I'm working on having an alarm that gives a notification at, lets
The app that I'm currently working on has a problem propagating settings, but seems
I am working on an alarm app. I followed the Android AlarmController tutorial word

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.