0

In my application i need to deploy a some kind of reminder. that every day at any fixed time my application generate a notification..

  1. and it happens if my application is running or not. (e.g by using background service)

I am able to generate notification, but im un able to create logic to generate it every day. Please help if any one understand what i want. Thanks in advance.

Muhammad Jamal
  • 442
  • 4
  • 21
  • http://stackoverflow.com/questions/23440251/how-to-repeat-notification-daily-on-specific-time-in-android-through-background – sam_k Oct 28 '16 at 18:27

1 Answers1

1

See below link and this is work for me.

Create alarm set on a specified time, using AlarmManager

Repeat alarm everyday accurately

Community
  • 1
  • 1
Magesh Pandian
  • 8,789
  • 12
  • 45
  • 60
  • will it work even when my application is not running.. mean closed ? – Muhammad Jamal Oct 28 '16 at 18:54
  • its basically task. so task only hit when that specific time occurred. you will handle by broadcast receiver. Please accept this answer if helpful for you. Thank you Happy to help. – Magesh Pandian Oct 29 '16 at 01:41