Android N Notification Direct Reply -


recently read new article android n notification updates google has mentioned direct reply have tried best learn article not getting how reply directly notification. if 1 can guide me thankful.

i want implement like

if have ever created notification using pre-android n versions easy task you. because introduced direct reply feature addition existing notification builder

there 2 additions need make. follows,

  1. remoteinput

  2. reply action

as these additions optional. i.e, if creating notifications notificationcompat.builder new of notification standard style without adding code.

when create direct reply provide additional reply action remoteinput notification builder , else same earlier api.

the below guide how add direct reply feature existing notification

if want backward compatibility use notificationcompat.builder instead notification.builder

detailed tutorial can found here http://devdeeds.com/android-reply-notification-directly/

thank you


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -