- Visual Studio 2013
- MS-LPL
- XAML
- Windows Runtime
- Windows Phone 8.1
- toast notifications
- action center
- 04/02/2014
This sample demonstrates how to manage notifications in action center.
Action center is a feature in Windows Phone 8.1 that enables users to quickly access phone settings of their choice, as well as their toast notifications. APIs and new WNS request headers have been added to help you manage your toast notifications in action center. For more information, see Managing toast notifications in action center.
The sample consists of the following scenarios.
- Sending a local toast notification.
- Sending a toast notification directly to action center, without showing a pop-up using SuppressPopup.
- Demonstrating the action center queue.
- Removing notifications from action center.
- Replacing a notification in action center.
Note This sample requires Windows 8.1 and Microsoft Visual Studio 2013 with Update 2 or later.
To obtain an evaluation copy of Windows 8.1, go to Windows 8.1.
To obtain an evaluation copy of Visual Studio 2013 , go to Visual Studio 2013 . After you install Visual Studio 2013, update your installation with Update 2 or later.
Client | |
---|---|
Server | |
Phone |
- Start Visual Studio Express 2013 for Windows --> and select File > Open > Project/Solution.
- Go to the directory in which you unzipped the sample. Go to the directory named for the sample, and double-click the Visual Studio Express 2013 for Windows Solution (.sln) file.
- Press F7 or use Build > Build Solution to build the sample.
To debug the app and then run it, press F5 or use Debug > Start Debugging. To run the app without debugging, press Ctrl+F5 or use Debug > Start Without Debugging.