Is there any local notification in Android?
Asked Answered
A

3

0

In my application I want to use the Local Notification. I don't know is there any local notification available in Android or not.

If yes then please give me any sample example to implement it.

Thanks.

Anomie answered 21/12, 2011 at 13:35 Comment(0)
I
4

Android doesn't really have a distinction between remote (push in Apple terms) and local notifications. You don't get a box pop up or any UI at all for free with Android's C2DM.

I think you just want to look at:

For doing something at a certain time you want to look at:

Indulgent answered 21/12, 2011 at 13:41 Comment(3)
Ok Thanks for the Answer. Let me check it.Anomie
I want the notification like that if i have set the notofication in to the application for perticular time and date then the device should display the message at that time even if the application is close. The message should be of any form or like the dialog. Is it possible?Anomie
For the "at a certain time" stuff, look at developer.android.com/reference/android/app/AlarmManager.htmlIndulgent
V
1

there is a sample of new Notification with PendingIntent for call Activity when the user click on.

PendingIntent of Notification don't call my Activity second time

Variation answered 21/12, 2011 at 14:8 Comment(0)
G
0

yes, there are local notifications in android. To understand how to work with them see this answer - How schedule local notifications Android?

Gunzburg answered 11/8, 2015 at 16:6 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.