Create custom Windows 10 Quick Actions in Notification Centre? - windows

I'm currently building some applications for use in Windows 10 and would ideally like to customise the Notification Centre with some custom Quick Action buttons for my apps. Does anyone know if there's a way to create custom Quick Action buttons to launch applications from the Notification Centre?
Thanks,
James

Related

Difference between pager and notifications

I am not really understanding what's the difference between using a notification to build a ui where you can perform an action (click on button or display a card) and using the GridViewPager to do that.
I am creating an app where you can perform actions with a button (following the spec of google, on action/button per page). I am using the GridViewPager to do so. But looking at the samples that google provides and looking at the different wear apps that I could find, it looks like a lot of the applications have the same design : buttons with a blue background circle, provided by the Notification class.
In which case should I use the GridViewPager or the notifications?

Windows Phone MessageBox that looks like bubble popup

I need a message box like control that looks like a bubbling popup. Like the speech bubble message from the phone.
Can someone recommend such control? How can I achieve this effect in Windows Phone?
Check out the Coding4Fun windows phone toolkit. They have chatbubble controls that you can easily add to your project. They also have prompt controls that notify users of events that you specify. coding4fun.codeplex.com

How to add mulitple screen on one page? Windows Phone 7 application

I am completely novice in Windows phone app development. Till now I have been developing iPhone application. In iphone there is a concept of view and view controller. You can add multiple view on one screen and do hide/show to display multiple screens.
I am searching, How can I achieve same things in Windows phone app development.
For a similar pattern, see MVVM:
How Do I: Use MVVM in a Windows Phone 7 Application?
Windows Phone Mango: Getting Started with MVVM in 10 Minutes
MVVM in real life Windows Phone applications Part1
To hide/show different views/XAML objects/panels, use their name and visibility property, for example:
contentpanel.Visibility = Visibility.Visible;
Windows Phone applications in general follow the Page based Navigation. If you want to achieve a hide/show multiple views in a single page without Navigating to a new page, you can do that with the help of UserControls.
You can define as many UserControls (==views) as you want and then hide are show them based on your requirements in the YourPage.xaml
And additionally, you would better go with MVVM approach.
check this good example for any further details Implementing the Model-View-ViewModel Pattern in a Windows Phone Application

Windows Phone 7 App bar, global events

I'm playing around with windows phone and looking at writing my first window phone 7 application.
I've coded in windows 6.5 and code in c# for my daily job.
So far it's all going well. Fairly simple and for most points where i have got stuck there has been a tutorial for it.
My problem is I've implemented the Application Bar, and am using this on a number of views.
In order to keep my code DRY i'm reluctant to create the events on each page. This seams a waste of developer time.
Is there a way around this?
Should i create a base class and inherit from it?
Are the Xaml templates?
Should i just suck it up and duplicate the code?
Thanks for any help.
If you want to create and reuse an ApplicationBar, you can create as a resource in the App.xaml and create the EventHandler for the Click events of the buttons on the App.xaml.cs file and on the pages just reference that resource.
Other options in to create the ApplicationBar based only on code and in that case you can have a global function on can call on any page to create the bar.
Personally, I'd just go ahead with the code-only option!

How to create custom pin Start Button to my app?

I want to create my custom pin Start Button to win phone 7.
For example in windows phone 7 i have the button of Marketplace pinned. When i receive update the pin button shows the number of updates i received.
Another example is the calendar, when i create some appointment, these appears in pin button.
I want create something similar. I want a big pin button with some information. Any direction?
The answer to this will probably depend on whether you are targeting Mango or not.
If you are targeting v 7, you will need to look into Notifications. This MSDN article will give you some good information as a starting point.
In Mango (7.1) you can accomplish a lot more manipulation of tiles from inside your app. This MSDN article is a great start point for that.
Please note, however, that your user will need to have the application tile pinned in order to get the behaviour you are describing.

Resources