hi all how to implements code for displaying alert message that alert message is when system time and our given time is same then it display a message as alert(“you have a new message”).if our given time is 04:22:00 when system time also same as our given time then receive message as alert.so kindly help any one of you to solve this problem
Share
You’ll need an
AlarmManagerto wake up the system in the exact moment:And a
BroadcastReceiver:And some XML in your manifest file:
In the
onReceivefunction you can create aToastor a status barNotification:http://developer.android.com/guide/topics/ui/notifiers/index.html