Re: [Aerogear-users] Need help to set-up java-mpns with java web application
To the best of my knowledge, you can send push notifications to your app with a Java or .net client using AeroGear's sender api, but not directly. It has to be through Windows Push Notofication Network.
Use java-mpns in your app directly to send a message to the device:
MpnsService service = MPNS.newService().build();
MpnsMessage notification = MPNS.newMessage()
String subscriptionUri = "https://..../" //need to get this from the device
Downside to this approach is that when you have other clients like android or ios then you'll need to manage the dispatching yourself that is where UPS is handy and you need a way to get the subscriptionUri from the device to your java backend.
On Tue, Nov 10, 2015 at 2:08 PM, Dharmendra Sahu <[hidden email]> wrote:
I have gone through your api and server and I want to use in my application.
I have created windows mobile application.
I want to use java-mpns api for push notification.
I want to send push notification message from my java web-application to AeroGear UnifiedPush Server and Unified server to my windows mobile application.
I would like to know if we could send push notification from my java web application to my windows mobile application.