Welcome! Log In Create A New Profile

Advanced

[WM24] A mobile device can send push notifications?

Posted by Frederec 
[WM24] A mobile device can send push notifications?
February 24, 2020 12:03AM
Hi

How can I send the notification from android device to another android device using webservice?



Edited 1 time(s). Last edit at 02/24/2020 12:04AM by Frederec.
Re: [WM24] A mobile device can send push notifications?
February 25, 2020 09:27AM
Hi Frederec,
there is an example that explain how to send a push notification:
WD Push Server: How to create a server to store the identifier of device
WS Send Push: How to send a push notification
Re: [WM24] A mobile device can send push notifications?
February 25, 2020 04:22PM
Thank you Carella for your replay.

I want to send the push from android device to android device.
NotifPushSend(Function) sends a push notification to a mobile device (iOS or Android). This function can be used in a WINDEV application or in a WEBDEV site.
The example is just for sending the push from windev (desktop).



Edited 1 time(s). Last edit at 02/25/2020 04:24PM by Frederec.
Re: [WM24] A mobile device can send push notifications?
February 25, 2020 04:56PM
I found this php script, who can explain more about how it works.



Edited 1 time(s). Last edit at 02/25/2020 04:57PM by Frederec.
Attachments:
open | download - Script.PNG (181.5 KB)
stefan.kern
Re: [WM24] A mobile device can send push notifications?
February 25, 2020 07:08PM
Hi Frederec,

if you have a look at the examples provided with WB you can build on this basis an application which you install on a server available on internet.

This application provides a soap service with covers two functions:

1.) The mobile devices which should receive the push notification can register
2.) The applications who shall send the push notification "trigger" the push notification by using zhe webservice.

The push notification itself is generated (notifpushsend() ) by the application on the server.
The server does not care what kind of device is triggering the push notification.

I have a solution where I store in addition an application identifier, which is also transmitted by the devices registering on the server.
So this solution is universal and can handle several apps.

Regards

Stefan.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: