Tap a Button to Push Notification

0 votes
I am working on the UWP -IoT and I wanted to push notification with a button tap event. How can I do it?

Plus, after my IoT device receives the push notification, is it possible to perform some operations or actions based on it? Like say, while the IoT UWP application is running, a notification arrives and the user can't tap on the notification. Could such events be handled?
Jan 7 in IoT (Internet of Things) by Bharani
• 4,550 points
40 views

1 answer to this question.

0 votes

Generally, sending push notifications fall under the scope of the application or its related web service. So, you won't be needing any special platform APIs for doing just that. All you need to do is send the correct payload to the Microsoft Push Notification server, using the ChannelURI you got on registering the client. Check more about it on MSDN: Windows Push Notification Services (WNS) overview.

Any client code can handle incoming "raw" push notifications. They don't show any UI by default, but you can have background tasks showing the UI to notify a user. More about it on MSDN: Raw notification overview.

answered Jan 7 by nirvana
• 3,060 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer
0 votes
1 answer

How to send a data from arduino uno to a webpage through esp8266 wifi module?

You are missing a few \r\n and the length ...READ MORE

answered Aug 9, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
1,511 views
0 votes
1 answer

Deploy my Windows 10 IOT core application locally!

Of course, you, can! That is, in ...READ MORE

answered Jul 17, 2018 in IoT (Internet of Things) by nirvana
• 3,060 points
164 views
0 votes
1 answer

Finding the Unicast, DNS and Gateway Address in UWP

Try the PInvoke api methods from Iphlpapi.dll. ...READ MORE

answered Aug 20, 2018 in IoT (Internet of Things) by nirvana
• 3,060 points
57 views
0 votes
1 answer

Firewall issue with Webserver in UWP on Raspberry Pi 3

Here's what could be happenning: You port hasn't ...READ MORE

answered Oct 12, 2018 in IoT (Internet of Things) by DataKing99
• 8,130 points
94 views
0 votes
1 answer

Using Sleep()/Delay() in C# on Windows IoT

You'll be glad to know that C# ...READ MORE

answered Aug 28, 2018 in IoT (Internet of Things) by DataKing99
• 8,130 points
348 views
0 votes
1 answer
+1 vote
1 answer

Does learning IoT need you to buy a Raspberry Pi or similar IoT devices?

Though I'd recommend having the device for ...READ MORE

answered Oct 16, 2018 in IoT (Internet of Things) by nirvana
• 3,060 points
53 views