Android Question Send notification from B4A to a Desktop Application in VB.Net

Bladimir Silva Toro

Active Member
Licensed User
Longtime User
Colleagues

I need to know if it is possible to send a notification from my mobile application in B4A to a desktop application in VB.Net?

Can you use Firebase Notifications?

Any example code that can help me?

I really appreciate any help.
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Ertan

Active Member
Licensed User
I would create an infrastructure like this. If it was a windows application running online, I would create an infrastructure and listen to a desktop program or a server. When I post data from the mobile application, I would directly capture and issue a notification in my windows application.
 
Upvote 0

Jeffrey Cameron

Well-Known Member
Licensed User
Longtime User
I've done this two ways before, with MQTT and monitoring a port on the PC. If you're going to go the port route, I would suggest you code a VB.NET class that handles the prefixing mode that B4X uses, it is far more reliable receiving packets.
 
Upvote 0

amorosik

Expert
Licensed User
I don't think it is possible to receive Fcm notifications via Vb.net
The simplest way is to communicate from B4A to Vb.net via socket
 
Upvote 0
Top