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

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.

Related

codenameone UI distorts on Windows phone

I am trying to build a UI which should work on all mobile platforms. But currently the UI is getting distorted on Windows Phone. (Displays correctly on other devices like Android, IOS..). The text boxes are places one below other but are getting overlapped on each other, truncating the bottom part of each text box.
Need to know the correct way to design the UI, so that it should display properly on all mobile platforms.
The Windows Phone target is a dead end target as Microsoft has effectively abandoned the platform. We are now focusing on the Universal Windows Platform and have a developer guide section for it here.

Resizable panel/grid for Windows 10 Universal App

I need to make a resizable side panel (intended to display numerous properties and tools) for my Windows 10 Universal App. I found there is a GridSplitter for WPF apps, but it seems this control doesn't work for Win10 Apps. Is there any other way how to achieve this functionality?

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

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.

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.

Resources