[android] Direct Reply Tutorial https://blog.stylingandroid.com/nougat-direct-reply/ -Direct Reply 는 Notification 으로부터 App Launch 없이 바로 답장을 보내는 기능이다.Message App 에 한정되지 않고 모든 앱이 사용 가능하다. -Direct Reply 는 Android N Nougat 버전에 한해 사용 가능하다. -Direct Reply 의 키는, Notification 을 만들 때 remoteInput 을 추가하는 것이다.// notification 생성private static final String REPLY_KEY = “reply”;private static final String REPLY_LABEL = “Input reply”; // Action.. 2018. 2. 28. [android] App Shortcuts Tutorial [android] App Shortcuts Tutorial https://catinean.com/2016/10/20/exploring-android-nougat-7-1-app-shortcuts/ - -Android N ( Nougat ) 7.1 버전부터 사용 가능. -Shortcut 이 설정된 앱은 롱 프레스를 하면 위의 스샷처럼 바로가기 옵션이 나온다. -간단한 정리 특정 동작을 진입과 동시에 할 수 있다는 것이 키 포인트 static 과 dynamic shortcut 2가지 종류가 있다. static 은 xml 에 정의하여 앱 안에 내용이 정의되어 있다. ( 수정하려면 앱 수정 및 재배포를 해야 한다. ) dynamic 은 Runtime 에 바꿀 수 있다. shortcut 으로 앱을 열 때 activ.. 2018. 2. 25. 반응형 이전 1 다음