Live tile inside windows phone 7 application - windows-phone-7

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.

Related

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

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.

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

Does windows phone 7 have a similar component likes UITableview in iPhone?

Does windows phone 7 have a similar component likes UITableview in iPhone?
I am trying to find an api mapping published by Microsoft, but to no avail.
I welcome any comments.
Your best bet would be to bind the data to a ListBox.
Here is an example.
You may be interrested in http://windowsphone.interoperabilitybridges.com/
It includes details on getting up to speed on Windows Phone 7 development for people familliar with developing for other platforms. (Including iOS.)
Tim is correct that you will most likely end up using a ListBox, but here is a bit of a longer answer:
I believe you are referring to the iOS to Windows Phone API mapping tool, which helps map common iOS APIs to their Windows Phone equivalents. Unfortunately in this case it will not provide a direct answer to your question, as iOS and Windows Phone take different approaches to the UI layer:
Apple enforces a strict MVC pattern on each of its views. In fact, they provide a set of base view controller classes which already support much of the behaviors you see in typical iPhone applications. The most common of these include UITableViewController, UINavigationViewController, UITabBarController and the standard UIViewController.
Windows phone 7 does not require you to use an MVC pattern, and therefore does not include the standard views that are available in iOS. Instead it is left up to you to choose and implement whatever UI pattern that you choose. Many choose the MVVM Pattern, but even then there are multiple toolkits you can use (This one seems pretty popular).
To start, with most users will just use the graphical designer built into Visual Studio to drag and drop controls onto each page of their application. If you want to learn more I recommend watching the Windows Phone 7 Development for Absolute Beginners series or 31 days of Windows Phone 7 series. Most Silverlight XAML layout and APIs techniques are available in Windows Phone, so 31 days of Silverlight may also help.

different views in windows 7 phone application

I am new to Windows Phone 7 application development. Can we create different views in same page, like a Web Application , in a Windows Phone 7 application?
in Web application in one page we have showing different view like (Example: registration in one view and Registrion View in another View but both views are in same page (Regiatrationpage.aspx) like that can we create views or frames in windows 7 phone application
If so kindly guide me
Each page in a WP7 application can be constructed in any way that you see fit. However, you should take a look at the Windows Phone 7 Series UI Design & Interaction Guide for inspiration, information about the Metro design language, and the way in what applications should be put together.
Yes you can have a web app hosted in a windows 7 app although I'm not sure why you'd want to.

Resources