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...
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...
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
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
Vibrate (import the library "iPhone")
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...
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.Sound = False
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)...
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
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...
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...
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...
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.
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...
HI, i use firebase to send notification to app.Thi is my code to show thw notification:
Dim n As Notification
n.Icon = "icon"
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"?>
Hello devs, I'm trying to send a notification to the mobile, however on MOTO G6 the same presents this error icon!
Dim n As Notification
'n.Insistent = True
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...