I wanted to know there is any method in android where user tap yes/no in notification status displayed in notification bar. And this response is received by my app?? something like inline reply
            Asked
            
        
        
            Active
            
        
            Viewed 1,267 times
        
    1
            
            
        - 
                    you mean adding buttons in the notifications? – Hamza Awwad Mar 14 '16 at 08:38
- 
                    yes like yes/no options and i want that response in my activity? – Elizabeth Mar 14 '16 at 08:53
- 
                    yes you can by using addAction and PendingIntent ... I will show you an example – Hamza Awwad Mar 14 '16 at 09:04
1 Answers
0
            try this example Determine addAction click for Android notifications
or this tutorial http://www.vogella.com/tutorials/AndroidNotifications/article.html
 
    
    
        Community
        
- 1
- 1
 
    
    
        Hamza Awwad
        
- 163
- 1
- 10
- 
                    to use buttons in notification we have to use notification manager ri8? if we are using or adding events in calender we will not get user response ri8??? – Elizabeth Mar 14 '16 at 09:24
- 
                    yes you have to use Notification Manager but what you mean with events in calender? – Hamza Awwad Mar 14 '16 at 09:30
- 
                    i mean in my app iam adding events in calendar so that in every 3 months i get notifications(say you have to go for injection). But now i want to know whether user went or not..for that i will ask user and i need yes/no reply. I dont know whether it happens in google calendar...so planning to move to notification manager. – Elizabeth Mar 14 '16 at 09:37
- 
                    can i know how to set notification from startdate to end date and every 3months???? – Elizabeth Mar 14 '16 at 10:35
- 
                    you mean send notification automatically every 3 months (locally) ? – Hamza Awwad Mar 14 '16 at 12:09
- 
                    try AlarmManager like this [link](http://stackoverflow.com/questions/13121719/notifications-in-specific-time-every-day-android) – Hamza Awwad Mar 15 '16 at 09:13
