notification

  1. Sandman

    Android Question [SOLVED] How to update the foreground notification at any time?

    My app always has a notification open, to show user status. Periodically a service, svcDoStuff, is run to communicate with a server online. Since Android 8 the periodic service needs to be a foreground service, to ensure it won't get killed while doing it's thing. When the foreground service is...
  2. rleiman

    Android Question AutomaticForegroundMode without vibrating and notification sound

    Hi Everyone, Can we tell this statement not to vibrate the phone and not have a notification sound? Most of our customers don't want it to do that. I also noticed the statement also displays the name of the app as defined in #ApplicationLabel. Can we put custom text in the title and...
  3. LucaMs

    Android Question Notifications icons colors

    I don't know how I have to create the icon. I can see it (white) in the status bar but not in the list of notifications. Can you upload an example? Thank you. P.S. SDK target 23 - device: Android 4.4.2. I'm not so sure that the problem is the "format" of the image file (png, of course)...
  4. O

    Android Question Notification Builder - setColor

    I want to change the background color of the smallicon in a notification. I use the notification builder. My aim is, to get different colors for the smallicon in the notification and in the status bar. Equal to...
  5. A

    Android Question notification in specific time

    hi I want to create a new notofication to the user, in a specific time(for example at 7:00 AM). someone knows how can i do that? Thanks in advance
  6. Alessandro71

    Beta B4A 8 Beta#1: Service Notification icon corruption with style macro

    I'm converting my project to B4A 8 and I have this issue: I'm running a service, other than Starter, that gets started from the Main activity upon user action. In the start sub, I set an icon and put it in foreground Sub Service_Start (StartingIntent As Intent) 'more code Dim n As...
  7. rleiman

    Android Question using SetExactAndAllowWhileIdle without the need for notifications

    Hi Everyone, I would like to use SetExactAndAllowWhileIdle without needing to also use notifications. Everything goes well with SetExactAndAllowWhileIdle such as rescheduling the startup of a service and it starts up very close to being on time. The service is sticky...
  8. uniplan

    Android Question SOLVED - Firebase push problem, but login work

    Hi, i'm working with b4A 7.30 and i have created some apps with firebase (social login and push) and i haven't any kind of problem. But i don't know, now, with new app, the login with firebase work fine, but don't work the push notification. fm_MessageArrived not raised! i'm trying with b4j...
  9. fbritop

    Android Question Stacked up notifications

    Is there any class module than can do stack notifications within the activity, and the slide up when each single timer from the instance is acomplish? Something similar to bootstrap notifications in HTML5 as the image attached? Every search for notification in the forum returns push...
  10. Carlos Huerta

    Android Code Snippet [Notification Builder] How to add a custom sound from File.DirAssets

    Hi everyone!!! I want to share with you my solution, using the Notification Builder (Thanks to @barx for this awesome library <3 ), to play a custom sound from your DirAssets folder. I did it because this method use the notification volume for this sound (instead of the Soundpool solution...
  11. M

    Android Question Player in notification bar

    hi how to create this ? please give me a source,tnax
  12. fabricio

    Android Code Snippet Send notifications to one of two apps in the same project at firebase

    Private Sub SendMessage(Topic As String, Title As String, Body As String) Dim Job As HttpJob Job.Initialize("fcm", Me) Dim m As Map = CreateMap("to": $"/topics/${Topic}"$, "restricted_package_name": "YOUR_PACKAGE") Dim data As Map = CreateMap("title": Title, "body": Body)...
  13. QtechLab

    B4J Question FCMPush Authentication issue

    Hi, I would like to send notification to specific device with the B4J server. I have the Firebase token of the destination device. I'm in trouble with Firebase authentication. This is the code, FCMPush with little variation: 'Non-UI application (console / server application) #Region Project...
Top