📜 ⬆️ ⬇️

Create an application for Windows Phone 7 from start to finish. Part 1

This article and the sample application attached to it will help you start creating full-fledged applications for Windows Phone 7. You will learn about general design issues by creating a simple application for tracking the amount of fuel consumed by your car. This article describes the things you need to know before you start building applications for Windows Phone.

You will also learn how to perform the following tasks (below are links to other parts):

Lecture hall


This article and the sample application attached to it are best for developers of the next level of experience.

Some experience with:Little or no experience with:

Fuel Tracker Sample Application


This article is accompanied by an example application called Fuel Tracker. Fuel Tracker is a complete application for Windows Phone 7, written in Silverlight. Fuel Tracker allows the user to track the fuel consumption of their cars. You can download the application source code from the following link:
Download the source code of the application Fuel Tracker
')

Types of applications


The Windows Phone platform offers a choice of two application development frameworks:
The following table lists some of the criteria you can use to determine whether you should use Silverlight or the XNA Framework for your Windows Phone application.
Application RequirementRecommended type of application
Text controls and menusSilverlight
Event driven appSilverlight
Interacting with Windows Phone controls, such as Pivot and PanoramaSilverlight
Embedded videoSilverlight
Hosted htmlSilverlight
Web browser compatibilitySilverlight
Vector graphicsSilverlight
Loop gamesXNA
High-performance, visually complex applicationsXNA
3D gamesXNA
Advanced graphics, such as textures, effects and territoryXNA
Xbox compatibilityXNA
This article describes how to develop an application using Silverlight.

App Hub and Marketplace


As a developer, you publish your apps for the Windows Phone Marketplace through the App Hub website, located at http://create.msdn.com . App Hub also provides many development resources for Windows Phone and Xbox. To learn more, see the App Hub Getting Started Guide .

To apply, you must purchase an App Hub subscription, which costs $ 99 per year. You can send up to 100 free apps and unlimited paid apps. Paid applications must have a minimum price of 99 cents, of which 30% is paid for accommodation. In addition, you must create an account on the App Hub before you can deploy and test applications on a physical device with Windows Phone. To learn more or sign up, see the App Hub Membership page.

Equipment


Windows Phone devices have minimal hardware requirements that make it easier for developers to write applications. Each Windows Phone device has the following configuration:

Terminology


To start writing applications for Windows Phone, you should be familiar with some terminology. The following figure shows some of the elements of Windows Phone.

image

Designed under the code name Metro : the user interface used in Windows Phone 7. You must follow this design in your application so that it integrates with the operating system and other applications. The design provides a modern user interface that is easy to use and minimizes the power consumption of the phone. Further information can be found here: Windows Phone Design System: Code named Metro .

Tile (tile) : display applications on the start screen. The tile can be dynamic and display information for the user.

Status bar (status bar) : shows the status of the telephone part, for example, the signal level. Not necessarily special for each application.

Application title (application title) : The name of the application, usually in uppercase.

Page title (page title) : additional title for the page, unscrollable. Page titles are usually lowercase.

On-Screen Keyboard (on-screen keyboard) : A keyboard that appears when the user changes a text field. Also known as soft input panel (SIP).

Application bar : an additional panel for navigating through the application, contains buttons and / or menu items.

Hardware buttons "Back", "Start", "Search" : buttons, the presence of which is mandatory on each device with Windows Phone. These buttons allow the user to navigate back, return to the start screen, or search in the current context.

Next part

Source: https://habr.com/ru/post/117425/


All Articles