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 8, 2019 in IoT (Internet of Things) by Bharani
• 4,660 points
434 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 8, 2019 by nirvana
• 3,130 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,280 points
3,448 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,130 points
887 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,130 points
656 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,240 points
880 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,240 points
1,922 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,130 points
745 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP