Include Windows 8 namespace in Windows Phone 8 [duplicate] - windows

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

Related

Pen Computing App Development in Windows Phone

I wanted to make an app in windows phone that takes in pen-computing input. Is there existing code infrastructure (templates and such) in the Windows Phone API that is available to the Windows Phone developer?
What I mean by pen-computing input is hand-writing input by users' fingers, giving us input like this:
Unluckily for Windows Phone 8 and Windows phone 8.1 InkManager class is not supported currently, so capturing handwritten input aint possible.
Though it works for windows 8 and 8.1 store apps which you can implement through Tutorial1 and Tutorial2
If you are focusing Windows phone would suggest to make app for Windows 10. They have release a better version of InkCanvas which is better than InkManager and works both store and phone apps being UWP. Check out this link for details on InkCanvas

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

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.

if I use a BlankApp(xaml) Template in Metro Apps and develop my desired UI , will it work accordingly in Windows phone also?

1) What I have understood that if you develop a application in metro style, it work in desktop, tablet and also phone?
2) I can understand if I use a standard template like grid template for developing my metro style app, that grid view will be converted to listview because of visual state transitions and will work in Windows phone. but my doubt is if we use a blank app template and develop whatever UI I developed as per client requirement will it be able to render or show up in windows phone?
A WinRT app (I assume that is what you mean by Metro) will run on the desktop/tablet and theoretically a Windows Phone 8 device without code changes. First, note that we are talking about Windows Phone 8 (not the current Windows Phone 7) and that it runs, not that the UI layout will be exactly right.
You can design the app however you like, whether it conforms to the Metro design or some other look altogether. If it is developed on WinRT, it should be code compatible with the phone as well.

Live tile inside windows phone 7 application

Is it possible to create a live tile inside our windows phone 7 application? I am asking the similar functionality as in AppHub app "...i'm a WP7!".
Please provide me input, how i can achieve this functionality?
Check out the HubTile control from the Silverlight Toolkit for Windows Phone over at codeplex.
Just be careful that it looks good and makes sense in your app - it's a very dynamic control and you can't see the Title of the control all the time.

Resources