I already create an app with mqtt, but now I just wonder how I can create push notification when I received data although the application is closed or not active. I have tried from this great example https://www.b4x.com/android/forum/t...-messages-firebase-cloud-messaging-fcm.67716/ to make push notification, but not understand how to integrate with mqtt. I thougt is there checking process inside fm.initialize
service start:
Sub Service_Create
fm.Initialize("fm")
and also with handleIntent, really I'm not skillful mobile developer.
service start:
Sub Service_Start (StartingIntent As Intent)
If StartingIntent.IsInitialized Then fm.HandleIntent(StartingIntent)
jMqttBroker library is based on the moquette open source project: https://github.com/andsel/moquette It implements a MQTT broker. If you are not familiar with MQTT then start with this tutorial: https://www.b4x.com/android/forum/threads/59471/#content The broker is like a "black box". It is...
Hey, this is an example/tutorial of a Server that manages Firebase Subscribtions, Unsubscribtions and SendMessages2Topics with the Power of B4J Server! The advantage is, requests are processed very quickly (barely waiting period), I do not have to start a script, save resources of the VPS or...
@KZero that's nice, thanks. After read tutorial I already decide to use firebase service send2topic.
@Erel MQTT library connect to io server broker, if there any data changes fcm will send push messages to another device.
but now why icon notification is only grey color, I cannot see my icon app on there. or manifest code for adaptive icon make a problem with icon notification?
but now why icon notification is only grey color, I cannot see my icon app on there. or manifest code for adaptive icon make a problem with icon notification?