Home > Mobile >  Personalized notifications in Android Studio
Personalized notifications in Android Studio

Time:04-21

I want to create an application that displays a personalized notification on the notification bar of the phone, but I don't know how to add this feature.

CodePudding user response:

For the basics on programmatically creating notifications, please refer to this Android documentation: Notifications Overview

In addition to that overview page, there are many more pages with further detail and code examples on the left pane.

Depending on the purpose of the notification and how/when you plan to generate one, doing so programmatically within your app's code might not be feasible for your use case as there are certain limitations. Therefore, you might use Firebase Cloud Messaging to accomplish your use case because the service provides more flexibility.

  • Related