Notifier example convert for Android Studio