notification

  1. K

    Android Question BLE2 NOTIFICATIONS NOT ACTIVATED

    I have identical issue with previous thread, unable to activate notifications from BLE device. manager.SetNotify succeeds, but DataAvailable event after that is never raised and notifications are not detected. BLE2 Ver.1.36, trying to communicate with BLE Body Thermometer Service and...
  2. Yunus ÖZ

    Android Question FirebaseMessaging - preventing show notification when app is running

    Hi, I look all example and try all of them, but always notification is coming when app is running. I only want to show message when notification is coming if app is running 'B4A version 8.30 'Target SDK: 26 Sub Service_Start (StartingIntent As Intent) FM.HandleIntent(StartingIntent)...
  3. I

    Android Question How to hide notification icon in status bar?

    I have foreground service on an app targeting SDK 26 and therefore there will be a persistent notification as long as the service is up. I know that I can customise this notification using Service.AutomaticForegroundNotification. What I am trying to do is to hide the notification icon in such a...
  4. rleiman

    Android Question Notifications seem to work differently in Oreo

    Hi Everyone, All of my apps are using this coding to display a notification that lets the user know the app is running in the background. The coding was working correctly on my test phone running Android 7. In the Starter module: In the Process_Globals: Private nNotify As Notification...
  5. 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...
  6. 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...
  7. 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)...
  8. 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...
  9. 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
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. M

    Android Question Player in notification bar

    hi how to create this ? please give me a source,tnax
  16. 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)...
  17. 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