notification

  1. LucaMs

    Android Question Notifications, foreground services...

    I have read many times that the best example on how to create a "stable" foreground service is MyLocation, so I tried it. It works but I am trying to get the same behavoir of some other famous apps, like Whatsapp, Twitter, Zynga Poker, etc. They are able to receive notifications (obviously...
  2. rleiman

    Android Question Notification is displayed when app has no notifications defined when widget is on home screen

    Greetings, My customers are noticing a notification being displayed in the notification area of their screens as soon as they place my app's widget on their home screens. The app does not have any notifications defined nor are they used in any of my coding. This seems to be tied into the widget...
  3. C

    Android Question How do i enable Smart popup permission?

    Hi, I have a Samsung device and I noticed that there is a function called Smart Popup. I want to implement that function in my app but I don't know what permission to use. Also whatsapp and Amazon enabled smart popup automatically Can you help me? Thanks in advance, Simone
  4. M

    B4i Library [class] Foreground Notifications

    Hi, for my personal need, i had to write a small class in order receive notification when the app is showing (foreground). Maybe it can be useful to someone. You can set: Custom Text Color Custom Background Color The showing time An icon Vibrate (import the library "iPhone")
  5. A

    Spanish B4J PUSH

    Hola! Estuve buscando por el foro y no encuentro en ningun lado la forma de recibir una notificacion via push en b4j. Lo que estoy buscando es enviar desde php la push para que reciba un b4j esta notificacion y a partir de ahí realice una acción. Encontre siempre que b4j haga de servidor que...
  6. Marcos Alves

    Android Question Update Foreground Service Notification Message

    Hello, I have a foreground service that navigates in a sqlite table and downloads some images, and would like to put a counter in the notification to show the number of downloaded images. The service notification is created with this code: n.Initialize n.Sound = False n.Vibrate =...
  7. Brandsum

    iOS Code Snippet Notification with image

    Public Sub CreateNotificationWithContent(Title As String, subTitle As String, Body As String, ImageURL As String, Identifier As String, Category As String, MillisecondsFromNow As Long) Dim ln As NativeObject ln = ln.Initialize("UNMutableNotificationContent").RunMethod("new", Null)...
  8. Cebuvi

    Android Question Show notoficacion programmed to several hours

    Hello, I am working on an app that submits notifications several hours apart by a fixed or variable interval. For example, 10:00, 11:00 and 12:00. After researching the forum I get it to work using a service in background and StartServiceAtExact but I have the following problems if the...
  9. M

    Android Question DownloadService random crash

    Hello, I have an app where I use DownloadService to download and save files. Up until recently it worked fine on my test device (Huawei P20 lite, Android 9, EMUI 9.1.0), but about 3 weeks ago it started crashing on downloading file without any message. I use the DownloadService like this (I...
  10. Nerdworld

    Android Question Always on Display - Notification Icon [Huawei Mate 20 Pro]

    Hey folks! I'm currently running into an issue with one of my apps: - My app has a constant notification for a running service - On my old phone (Samsung Galaxy S7 Edge) i had a small version of my app icon on the "always on"-display. - On my new phone (Huawei Mate 20 Pro) there is a small...
  11. A

    Android Question Problem when referencing "Firebase Analytics" and "Firebase Notifications"

    Hello, I tried to add an option for Push Notifications to my throw Erel's video Explanation. When referencing the libraries "Firebase Analytics" and "Firebase Notifications", an error message had shown up. (When referencing "Firebase Analytics" the error was "Maven Article wasn't found...
  12. M

    Android Question Media style notification

    Hello, I was hopping if anyone can guide me with media style notification like the image below and what I mean is about both UI and the back-end also. I have seen this type of notification player in lot of applications but I wish if I can create one with b4a.
  13. W

    Tool [Tool] Make your own notification icon with an ASCII and/or a FontAwesome/Material Icons character

    Hi all, I wanted an easy way to create simple B4A notification icons consisting of a letter and a symbol; the symbol could then show things like 'there is a message' / 'there are no messages' / 'there is no network connection'. So I came up with MakeNotificationPng. Attached you'll find the B4J...
  14. uniplan

    Android Question Icon app always show in status bar

    HI, i use firebase to send notification to app.Thi is my code to show thw notification: Dim n As Notification n.Initialize() n.Icon = "icon" n.SetInfo2(titolo_push,messaggio_push,id_notifica,Main) n.Notify(id_notifica) n.Vibrate=True...
  15. Yunus ÖZ

    Android Question Notification Play/Pause Problem

    Hi everyone, I'm using NotificationBuilder library for my radio app. (Thank you very much to the developer @barx ). This is my Custom Layout File <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"...
  16. Flavio SOuza

    Android Question Invalid notification (no valid small icon)

    Hello devs, I'm trying to send a notification to the mobile, however on MOTO G6 the same presents this error icon! My Code: =============================== Dim n As Notification n.Initialize n.SetInfo2("ABC","123","news",Me) 'n.Insistent = True n.Notify(1)...
  17. M

    Android Question Firebase notification

    Hello everyone I want to handle notification click in firebase when the app is not running, i need to do some actions when the notification clicked. Can anyone help me?
  18. Alexander Stolte

    Android Question NB6 group notifications

    Hello, how can i group notifications with NB6? For example WhatsApp:
  19. Sandman

    iOS Question How to customize appearance of notifications?

    I just found out that it's possible to customize the appearance of notifications on iOS, is this something that we can do in B4i also? More info: Customizing the Appearance of Notifications
  20. Sandman

    iOS Question [SOLVED] How to use "Notification-Related Actions"?

    I just found that notifications on iOS can have actions, but I wasn't able to find anything in the forum about it. Has anyone figured out this and would be willing to share a code example? More info here: Declaring Your Actionable Notification Types Handling Notifications and...
Top