Expand application bar in Windows Phone 8 app from code - windows-phone-8

I wonder if there is any way of expanding windows phone 8 application bar from code.
I know that this was not possible on windows phone 7 but maybe they done something in the SDK so its possible.
Thanks.

Take a look at the PhoneApplicationPage.ApplicationBar property. In particular, Buttons and MenuItems.

Related

Windows Phone 8.1 - Draw text over photo, but without showing the photo

I'm porting an Android application I've made to Windows Phone 8.1. I want my app to do the following: pick up a photo from the gallery, put some text on it, and then save the image back to the gallery. On Android I have been able to accomplish it, but on Windows Phone 8.1 the only solution I have found is to use RenderTargetBitmap, but this solution requires to display the image on screen, but I don't want to display it.
Any ideas?
Thank you a lot
So the question can be marked as answered:
Your image doesn't necessarily need to be on the screen - you can render it behind other items (or even off the screen, but within the visual tree). I have done something similar to create custom live tiles. However, I haven't tried this method on WP8.1 yet. I did a blog post a while back for Windows 8.1 live tiles, but the technique should work for phone too (apologies for the VB.net) : grogansoft.com/blog/?p=40

Is there a radial timepicker UI Control for Windows Phone 8?

I'm looking for a radial time picker control for a Windows Phone 8 application like the Windows 8 Alarms app or the Realarm app for Windows Phone.
Please see the below picture:
Any help would be appreciated!
I don't know of anything that is designed to do this out of the box. Telerik and Syncfusion (and likely others) have radial gauges that you could likely modify to make this. Syncfusion also has a RadialMenu, which looks similar to what you are trying to do, but I can't speak for how flexible it is.
http://www.telerik.com/help/windows-phone/radgauge-ranges-radialrange.html

How can I create different design (as fragment in Android) in Windows Phone 8?

I want to create different designs in my page and keep them in a container in my page. With arrows, I should navigate between my different designs. How can I achieve that in Windows Phone 8 SDK? Is there a something like fragment in Android in WP8 SDK?
Here is a drawing of what I want to create:
Use Pivot Page .This will look better than Fragment activity.

Windows Phone 8 ApplicationBar button long-tap event [duplicate]

This question already has an answer here:
Windows Phone 8 Application Bar Button Long Tap Event
(1 answer)
Closed 9 years ago.
I'm trying to create a music player in my Windows Phone 8 application. I want to use same ApplicationBar buttons for Next and Forward as well as Previous and Backward functions.
Is there any chance to get long-tap event of an ApplicationBar button(?) so that I can differentiate Next/Forward functions.
Can anyone help me with this?
This is not possible. The ApplicationBar API is quite restrictive, which is a deliberate move by Microsoft to ensure consistency. You cannot handle arbitrary events from the ApplicationBar. If you want this kind of behaviour, you will have to build your own UI to support it.
It is worth noting that your users will not expect 'long press' (more commonly referred to as tap-and-hold) behaviour on the app-bar.
The ApplicationBar buttons only support a click event. It is not possible to detect a "long-tap".
As the ApplicationBar support up to 4 buttons you could use separate buttons. Alternatively create buttons on the actual page for this functionality. Then you can have as many as you want. (See Nokia Music, Last.FM or Pandora for examples of other music apps that have put buttons on the page.)

Any straight-forward way to animate the transition from Portrait to Landscape in Windows Phone 8?

I wish there were some clear, straight way to animate the transition of an app from landscape to portrait, like the 1st party apps do.
I googled, I binged but I can't find any straight answers, not even a "no can do".
I think this article is what you search. It says about Windows Phone 7, but actions described in it are applicable for WP8.Just plug Windows Phone Toolkit via NuGet or manually.
#lumen is correct the Phone Toolkit (OS from Microsoft) is a great way to do it.
Read Andy Wigley's post on how to do it (yes the documentation on the Phone codeplex page is a bit scare adn is mostly blogged about by the contributors)
http://mobileworld.appamundi.com/blogs/andywigley/archive/2010/11/23/windows-phone-7-page-orientation-change-animations.aspx
Alternatively if you have the Telerik Controls, you can just implement their Transition page control in pretty much the same way but you will have even greater control for how that looks.
Hope this helps