blend 4 and layout path - windows-phone-7

according to this article http://electricbeach.org/?p=653 and many others it's trivial to make a layout path.
Well I've downloaded phone 7 developer kit but when I try to convert a shape (es. circle) to layout path is impossible because command is not active.
Also pathlistbox don't exist in my blend version... you know why?

You can only use the PathListBox in Silverlight 4 onwards, which is available on the Mango build of Windows Phone 7. You will need to download and install the Developer Tools for Windows Phone Mango.

Related

Adding Font to Windows Phone 7

Is it possible to add Custom fonts to Windows Phone 7 system fonts?
I have Windows Phone 7.5 (Lg C900) and it doesn't support Georgian font.
I want to add font to Windows Phone's OS, not to an application.
Any ideas?
yes it is possible in windows phone. Add custom font file in your solution.And then add following line of code in App.xaml
<Application.Resources><FontFamily x:Key="QUARTZMS">/Fonts/QUARTZMS.TTF</FontFamily></Application.Resources>
It is not possible to add new fonts or language support to Windows Phone 7 beyond what is already available. Windows Phone 8 does have additional language support, though.
The official MSDN docs have a great list of all supported languages and illustrate the differences between the two platforms...
Culture and Language support
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202918(v=vs.105).aspx
UI Font support
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202920(v=vs.105).aspx#BKMK_SupportedUIFontsinWindowsPhone

Include Windows 8 namespace in Windows Phone 8 [duplicate]

I am trying to write a Windows Phone 8 SDK-based application. I keep seeing mention of a ProgressRing control but I don't see it in the Toolbox or in the xaml designer.
How do I use this?
ProgressRing is part of the Win8 UI controls, not WP8. In WP8 you should use SystemTray.ProgressIndicator instead which is part of the windows phone UI shell. See here and here for samples.
See below blog link for simple copy&paste code to exactly replicate the Windows ProgressRing (uses the actual style code). Works perfectly, just added it to my WP8 project:
http://briandunnington.github.io/progressring-wp8.html
There is more info about adapting it to WP8 in the answer to this question:
How to Use ProgressRing in Windows Phone 8
Download this app for your phone to see it in action.
ProgressRing is not available for Windows Phone 7 or 8, you have to use ProgressBar or rather the PerformanceProgressBar:
http://www.windowsphonegeek.com/articles/WP7-PerformanceProgressBar-in-depth

Font is different in WP7 and WP8 project

this is quite a strange thing I've run into.
I've been developing Windows Phone Apps for over a year now, and even with the WP8 switch i never seen this before.
If i take my WP 7.1 app and upgrade it to WP 8 the font gets quite messed up, shown in the two screenshots below. (Both taken from my WP8 Lumia 620)
WP 7.1 Version -
WP 8 Version -
Quite strange indeed, the font used is "visitor1 TT1 BRK"
from http://www.dafont.com/visitor.font
The font is set as a BlendEmbeddedFont and used in XAML like this:
FontFamily="/TronRadio;component/Fonts/Fonts.zip#Visitor TT1 BRK"
Is it a .NET 4.5 thing that needs to be set or some other kind of problem?
It is the first time I've seen this problem, i have upgraded other apps with embedded fonts without running into this.
One note is that the font shows up fine in the Design Workplace (Visual Studio 2012 and Blend).
However on the Windows Phone 8 and Emulators the above problems shows.
Thanks
Why don't you select the font in Expression Blend and then Embed it separately for Windows Phone 7 and 8 apps. This might help.

Loading Xbox Live Avatar Model in Windows Phone 7 using XNA

Does anybody know how to access the Xbox Live Avatar from within an XNA based Windows Phone 7 application?
Examples I have found seem to use a SignedInGamer.Avatar property, but this is not accessible from Windows Phone 7.
Is there another way or is this not possible in the first place?
as a side note, I'm using the recent Mango beta 7.1 SDK
Thanks!
It's not available in code unless you have the elevated privileges of access to XBox live.
You can, however get an image of your avatar from the web. try:
http://avatar.xboxlive.com/avatar/XXXXXXX/avatar-body.png
where xxxxx is the XBox account name. e.g. http://avatar.xboxlive.com/avatar/kris/avatar-body.png
My understanding is they are only available to partners. See this post for more information:
http://www.ozymandias.com/how-do-i-use-xbox-live-apis-on-windows-phone
However, it looks like you can demo them, here's a quick tutorial on using them:
http://xnaessentials.com/archive/2009/06/11/xna-game-studio-3-1-avatar-tutorial.aspx

Windows 7 snap - Programmatic aspect

Windows 7 has a new "snap" feature it applies when dragging "standard" windows. I do have a pure win32 application (not MFC or any other framework) that I use to create a non-orthodox user-drawn window.
That window does not "conform" to windows 7 snap and dragging it to screen corners will not do anything.
Do I need a special style/class or something similar in my window in order for windows 7 to take it into consideration for "snapping"
You will have to use the WindowChrome class which is in the Microsoft.Windows.Shell namespace available in .NET 4. If you are targeting .NET 3.5 SP1 there is a backported standalone library, details here.

Resources