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.
Related
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.
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.
Is there any tutorial available for creating Universal UI which can run on iPad as well as iPhone on different resolution. I tried looking in the official documentation, but couldn't find anything about UI files.
I notice you've tagged this question with Marmalade, so I'm assuming you are talking about how to write a Universal app in Marmalade? If so then creating a Universal UI is pretty much up to you to implement in the best way you see fit.
By default all Marmalade apps are Universal apps, though you can limit to iPad only with the MKB setting iphone-ipad-only.
Marmalade does come with the iwui module that allows you to lay out user interfaces with buttons and text boxes etc. but ultimately unless you have a very simple UI you'll need to either provide different UI layouts for each screen resolution/orientation you wish to support, or do some fancy laying out in code.
Apple wisely chose to persuade developers into creating separate UIs for iPhone and iPad since the one-layout-fits-all approach generally looks bad at any screen size.
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.
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.