Event Triggered Toast Notification UWP - wpf

Idea:I am automating wifi login for a particular network where user have to enter credentials by poping a toast notification like alarm app but instead of snooze or dismiss button there would be login or logout.
Issue:How to trigger toast notification immediately when the user connect to a particular wifi network?

You need to use a Background Task which is getting triggered by a System Event - in your case the NetworkStateChanged trigger.
Here are a list of available triggers:
SystemTriggerType Enum
And here is a quick introduction how to respond to such a system
event:
Respond To System Event
You can then check if you want to show the toast by using Windows.Networking.Connectivity.NetworkInformation.GetInternetConnectionProfile()
Look at this question https://stackoverflow.com/a/32846558/5111904 or look up the documentation of the NetworkInformation class for further information.

Related

Looking for Outlook Office Web Appointment OOTB "Delete" button event handler

As we are able to track OnSend event on send button. Is it possible to track delete event on delete button while deleting the event? Please see the below screenshot for the same.
Screenshot
Currently delete event is not a part of the product.
We track Outlook add-in feature requests on ourĀ user-voice page. Please add your request there. Feature requests on user-voice are considered, when we go through our planning process.

Push Notifications for Windows Application

I'm trying to develop a chat application for windows.As in all chat applications I also have a requirement of showing notifications whenever the User gets a message.Now,what I want is how can I show a notification and clicks on that notification will have to perform some task.How can I achieve this.
Thank you.

messaging_optins webhook event not working for messenger

I'm trying to get the event when the developer/tester/admin click on the messenger plugin to start the chat.
these are the selected event with my app:
Selected events: messages, messaging_postbacks, messaging_optins
from these 3 events, two are working perfectly. but messaging_optins isn't working.
from the documentation:
https://developers.facebook.com/docs/messenger-platform/reference/webhook-events/messaging_optins
This callback will occur when the send to Messenger plugin has been
tapped, a user has accepted a message request using customer matching,
or a user has opted in to receive messages via the checkbox plugin.
I'm tapping on the start chat button with a different developer account. but every time it fails to send me the webhook for this. but other 2 hooks are working perfectly!
Can you guys please help me with that?

To show that the new update is available in app store

In most of the app, I've seen that whenever the new update is available, it is shown in dialog box as soon as the app is opened. I think it is not a push notification since the notification msg doesn't appear in notification bar but only in a dialog box with remind me later, cancel go to appstore etc option when the app is opened.
This is a common practice that doesn't necessarily use the store versioning support (often it doesn't). The app pings to a URL to check if it indicates a new version and notifies the user accordingly.
I intend to write a tip of the week about it in a couple of weeks.

Initiating an app manually

Is it possible for the user to initiate interaction with glassware, rather than responding to cards that appear unsummoned? I plan to create an app that will only be useful in situations the user identifies.
I combed the documentation some and didn't find anything describing this, but it seems necessary.
You can use a Pinned TimelineItem
https://developers.google.com/glass/v1/reference/timeline
set isPinned to true and the card will appear on the left of the home screen. Users can then initiate your app functionalities through that card's custom actions.
A user can initiate interaction by tapping/using heads up to get to the OK GLASS prompt, then swiping to a card inserted by the Glassware, then tapping on the card, then tapping on an action. They can also share various items to contacts inserted by the Glassware. See the documentation on subscribing to user notifications:
https://developers.google.com/glass/about#subscribing_to_timeline_notifications

Resources