[Android]Notification | 建立一個Notification | 01
首先先引用Android Developers上的 通知( Notification)介紹: A notification is a message that Android displays outside your app's UI to provide the user with reminders, communication from other people, or other timely information from your app. Users can tap the notification to open your app or take an action directly from the notification. 大概的意思是說 notification 是在App以外的地方顯示訊息來提供使用者提醒、App的即時訊息blahblah...之類的,使用者也可以點擊notification來開啟你的App或直接透過notification做一些動作。 這篇文章將會透過一個包含一個Button的Activity來說明如何建立notification,並點擊Button後將會顯示通知。