# Notification Management

When running an Android application in background, several [limits ](https://developer.android.com/about/versions/oreo/background)apply, which also have [impact](https://developer.android.com/about/versions/oreo/background-location-limits) on retrieving locations. To circumvent this, an application needs to show a [foreground service ](https://developer.android.com/guide/components/foreground-services)with a notification visible to the user.

The notification is visible to the user and should therefore be maintained by the host app. For this reason the initialization provides three methods to pass a [notification](https://developer.android.com/training/notify-user/build-notification):

* [Recognition ](https://docs.movesdk.com/move-platform/~/changes/1lLi1pFRKkteajbXv0hC/api-interface/android-1/builder#dolphinsdk.builderv1.1-recognitionnotificationrecognitionnotifications)- Whenever the MOVE SDK tries to detect for example activities, trips or even more
* [Trip ](https://docs.movesdk.com/move-platform/~/changes/1lLi1pFRKkteajbXv0hC/api-interface/android-1/builder#trip-notifications)- When there is an active trip ([MoveTripState ](https://docs.movesdk.com/move-platform/~/changes/1lLi1pFRKkteajbXv0hC/sdk/models/movetripstate)`.Running`).
* [Walking](https://docs.movesdk.com/move-platform/~/changes/1lLi1pFRKkteajbXv0hC/api-interface/android-1/builder#walking-notifications)

By providing a [Notification.Builder ](https://developer.android.com/reference/android/app/Notification.Builder)you can freely customize the visible notification. With the *notificationId* you can even update the notification whenever you need to.&#x20;

{% hint style="info" %}
Don't forget to create a notification [channel](https://developer.android.com/training/notify-user/channels)
{% endhint %}

![Example notification ](https://394612935-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MXD5xlIFUYU8eK_kkLo%2F-McxsOq3vXEBdq9LLpa3%2F-Mcxwlf8B-xYSh-yhQ9W%2F2021-06-24%2014_15_49-Window.png?alt=media\&token=ca1bb967-6daa-45bb-977c-d8da0720dc22)
