How can I set windows 10 notification preferences for my application - windows

I'm showing my application messages with QSystemTrayIcon::showMessage() function, and I want them to stay in Windows Action Center after them showing.
I found solution by setting "Show notification in action center" parameter, but how can I set this parameter with code from my application?
Settings -> Notifications & Actions -> this parameter

Your application needs to setup a COM server for you to be able to extend the timeout period of the message in the Action Center.

Related

How do I determine the users notification alert style?

In the System Preferences Notifications settings the user can select None, Banners or Alerts for each app. How can I determine the users chosen setting for my app? I've been searching on-line and in the docs without any success so far.
I've looked at How to check Notification alert style for our app? but that's for ios and is more about setting the alert style. I don't want to change the alert style - I just want to know what the user has set it to.

Pop up or notification in webOS

From a service, is there any way to create a pop up, application which is registered to my service may/may not be available, so i need to show a pop up/toast/notification message to user, is that possible in webOS
While I've never written a service, I don't see why this wouldn't be possible. Can a service launch an application? If so, set your application's no window mode to true. Launch the app, with some parameter indicating why it was launched. In the relaunch handler, check if that parameter is there, and if so, create a popup.

how to track sent message event in windows phone?

Is there a way in windows phone to track sent message event? i mean to say that whenever a message is sent then a function of my application execute
all i want is to execute a function whenever sent message button of windows phone is clicked?
If you open the message launcher (I don't remember the exact name), it'll open this screen and you have the event (something like application deactivated) and once the user sends the message, the screen should close and come back to your app (again another event is available at that point, activated).
So you'll have to play with the events to do something you like, IIRC there is no call back when the message button is clicked.
Here's a link with the lifecycle of apps
There is no API that notifies you if a message was sent (at least no open API). A similar question was asked here.

Getting TeamCity notify using Google Talk

I'm setting up TeamCity 7.0.3 on a build machine. Everything is working OK apart from the Google Talk notifications using the Jabber notifier. When I send a test notification it works fine. But when the build completes/fails I don't get any notifications. The notifications do work locally on the machine using the system tray notifier. I have registered for all projects and all events but stil nothing is coming through. I am using the same gmail account to send the message as to receive it which could be a bit odd but the test messages work. This could be a firewall issue I guess but again the test message works.
Any ideas?
I use the following settings in TeamCity 7.1 to set up Jabber:
http://i48.tinypic.com/9ay0xz.png
Obviously, replace my_user#gmail.com with the Google Talk user that should send notifications. Note that, when using Google Talk, you can't send messages to yourself, so the Server User must be different than the Jabber accounts for any users that want to receive notifications.
Now, you need to configure the notification rules for your user. Click on your name in the upper right hand corner, then in "My Settings & Tools" click "Edit" beside the Jabber Notifier under "Watched Builds and Notifications". This page looks like this:
http://i47.tinypic.com/xpq3y9.png
Note that the "Jabber Account" must be different than the "Server User" above (or else you won't receive notifications; this is the first mistake I made when first setting this up). Also note that you must set up rules for each build or groups of builds that you want Jabber notifications for by clicking "Add new rule." Jabber Notifier will not inherit your Email Notifier rules (this is the other mistake I made when first setting this up).

Notification Service for Blackberry OS 4.5 application

I am developing an application similar to email application.Whenever new message is received my notification service should indicate change to user by updating icon,also, the notification service should continuosly listen to server for incoming events.
I am developing in os version 4.5.
There is no ApplicationIndicator in RIM OS < 4.6 (see bb forum thread)
you have several options to notify the
user (none of them is the indicator,
unfortunately). you can:
play a sound
trigger the vibration
trigger a customizable notification (so the user can decide)
change the application icon
paint a text on the application icon
change the application title
how to show notification icon in v4.2 to v4.5 versions
Play sound with with Alert.startAudio
Change application icon with HomeScreen.updateIcon
Change app name with HomeScreen.setName
Trigger vibration with Alert.startVibrate
And yes, to exchange data between two applications it's better to use GlobalEventListener

Resources