Top Banner
Réaliser par Metoui Nadia Habibi Malek Ben Ayad Maher
39
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Réaliser par

Metoui Nadia

Habibi Malek

Ben Ayad Maher

Page 2: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Introduction &

Historique

Plan

Page 3: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Plan

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

Page 4: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Pocket PC (1999 - 2005)

Pocket PC 2000

Pocket PC 2002

Pocket PC 2003 SE

4

Page 5: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Windows Mobile (2005 - 2011)

Windows Mobile 5

Windows Mobile 6

Windows Mobile 6.5

5

Page 6: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Win Mobile 6.5 UI Customisés

6

HTC Sense

SPB Mobile Shell+

Page 7: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Windows Phone 2010

• Echec commerciale de

WM

• 2010 « Win Phone »

– Une Rupture total avec

WM

– Nouveau Disigne

– Nouvelle philosophie 7

Page 8: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

DESIGN: Correspond mieux au à ce que l'utilisateur attend d’un smart phone

PLATFORM: Riche, Puissante,Facilite le développement de application

HARDWARE:Puissant etFacile à commercialiser

Changement de Stratégie Win Phone 7 : Nouvelles approches

8

Page 9: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Changement de StratégieDisigne & Integrated Experiences

9

Page 10: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Changement de StratégieDisigne & Integrated Experiences

10

Page 11: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Changement de Stratégie Philosophie de la Plateforme

Une grande variété d’outils d'applications de thème et de jeux

Une multitude de frameworks qui peuvent être exploitées à travers de des dispositifs, liée via Cloud

Opportunité et PartenariaFaciliter et rapidité de développementIl suffit de trouver la bonne idée

La Personnalisation pour l’utilisateur

Les Services Cloud

Le Profit pour les développeurs

11

Page 12: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

CLOUD

CLIENT

Le code qui s'exécute sur le

client

Outils pour les application Client

Le code qui s'exécute dans le

CloudOutils Cloud

Changement de StratégieComposante de la Platforme

12

Page 13: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

Hardware Foundation

Page 14: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

480 QVGA320 HVGA

Camera5 Megapixels ou plus

Mémoire256 MB RAM ou plus / 8 GB flash ou plus

ConnectivitéWiFi / 3G / GPRSCapteurs de position Accelerometer / Boussole / Gyroscope / Gps

Buttons matérielStart / back / lock / search / volume/ camera Processeur ( CPU ) au moins 1 GHZ

Touche entréeTactile / Multi –touch

Système d’exploitationWindows CE

80

0 Q

VG

A4

80

HV

GA

Fondation matérielle

14

Page 15: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Capteurs de position+Y

-Y

+X

+Z

-Z

Accelerometer : Détecte le mouvement du téléphone en mesurant son accélération dans les trois positions(X,Y,Z)

Boussole : Utilisé pour déterminer l’orientation où le téléphone est pointé par rapport au pôle Nord magnétique de la Terre

15

Page 16: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Capteurs de position

Services de localisation

Tours de téléphone cellulaire

Wi-Fi

GPS

Gyroscope : Il est utilisé pour détecter le moment où le téléphone est tordu ou déplacé dans un axe particulier

Services de localisation :

16

Page 17: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

Software Architecture

Page 18: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Noyau

Modèle App Modèle IU Intégration Cloud

Applications

Gestion de l'APPLicencesChamber isolationMises à jour logicielles

Shell frame Gestionnaire de sessionDirect3DCompositeur

Xbox LIVEBingLocationNotifications pushWindows Live ID

IU de l’Application

GPS Accelerometer Boussole caméraMedia Wi-Fi Radio Graphique

SecuritéConnectivitéStockage

Frameworks

Silverlight XNAHTML/

JavaScriptCLR

Hardware Foundation

Architecture logicielle

18

Page 19: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Technologies

Windows Phone 7 est faite de technologies familiers pour les développeurs comme :

Tous les programmes pour Windows Phone 7 sont écrits en .NET

19

Page 20: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Silverlight

Ces programmes sont construits d'une combinaison de code C # et de balisage.

Le balisage est le Extensible Application Markup Language (XAML) qui définit une disposition de contrôles d'interface utilisateur et des panneaux.

Une application Silverlight est composée d'un nombre de pages où chaque page est exprimée en un seul fichier source de code XAML.

20

Page 21: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

21

XNAXNA désigne une série d'outils fournis gratuitement par Microsoft qui facilite les développements de jeux 2D et 3D pour les plates-formes Windows, Windows Phone 7, et Xbox 360.L'IDE fourni avec le XNA est le Visual Studio 2008 ou 2010 ainsi que le langage utilisé pour programmer avec XNA est le C#  La version 4, actuellement disponible, est nettement consacrée au développement sous  Windows Phone 7

Page 22: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Détails des Frameworks

Bibliothèque de classe de Base

Collections ComponentModel

Configuration

Diagnostics

Reflection IO

SecurityThreadin

g

Runtime ResourcesGlobalizatio

nTextLocation Net

ServiceModel Linq

Objet de l’Application

Présentation de Silverlight Frameworks de XNA pour les jeux

Frameworks du Windows Phone

Formes Balisage

Media

Contrôles Dessin stockage

AudioMedia

Graphique

Entrée

Dessin

Contenu

PhoneApplicationPage

CapteursPhoneApplicationFra

me

Camera Device Integration

Lanceurs & sélecteurs

Contrôles de Windows Phone

22

Page 23: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

App Model

Page 24: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Application State

Page StateState Dictionaries

Les données qui sont utilisées par les différentes pages

L’état visuel actuel d’une page

Dictionnaires dans lesquels sont stockées des pairs clé/valeur

Application Events

Page Events Tombstoning

LaunchingDeactivatedActivatedClosing

 OnNavigatedTo OnNavigatedFrom

Application ModelTerminologie

24

Page 25: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Running

Dormant

Tomb-stoned

Page method

OnNavigatedFrom

Page method

OnNavigatedTo

Application event

DeactivatedApplication event

Activated

Page method

OnNavigatedFrom

Page method

OnNavigatedTo

Application event

ClosingApplication event

Launching

Application ModelCycle de vie

25

Page 26: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Process De Publication

Publication des Jeux et des Applications

Sign

Service de Deploiment de Windows Phone 7

.xap

.dllApp

submission

AppPackaging &Validation

.xap

.dll

.xap

.dll

.xap

.dll

ApplyTest

Criteria

Marketplace

AddMetadata

.xap

.dll

.xap

.dll

.xap

.dll

.xap

.dll

26

Page 27: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Les applications sont fiables

Les applications utilisent efficacement les ressources

Les applications ne sont pas malveillants

Les applications n'interfére pas avec les fonctionnalités du téléphone

Conforme aux standard de Microsoft pour la politique sur le contenu global

Conforme aux directives standarts des applications

Évaluation par rapport aux politiques régionales

examen de localisation

Teste des Critaires

technical validation

policy validation

market validation

27

Page 28: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

UI Model

Page 29: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Layout GroupingBorderGridPanoramaPivotEtc.

TexteTextBlockTextBoxPasswordBox

Boutons et Contrôles de SélectionButtonHyperlinkButtonCheckBoxRadioButtonSlider

ListeListBoxImages Cartes MediasImageMapMedia Element

HTMLWebBrowserProgressMessageProgressBarPopup

User Interface ModelContrôles

29

Page 30: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

User Interface ModelPanorama

30

Page 31: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

PivotUser Interface ModelPivot

31

Page 32: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

Cloud & Service Integration

Page 33: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

1. Créer un instance du type de tache pour le Launcher2. Modifier toute information nécessaire ou optionnelle.3. Appeler la méthode show de l’objet task.

using Microsoft.Phone.Tasks;-------------------------------------------------------EmailComposeTask emailComposeTask =

new EmailComposeTask();emailComposeTask.Subject = "message subject"; emailComposeTask.Body = "message body"; emailComposeTask.To = "[email protected]"; emailComposeTask.Cc = "[email protected]"; emailComposeTask.Bcc ="[email protected]";

emailComposeTask.Show();

ChoosersUn Chooser est une API qui lance une des applications natives.L’application appelante est réactivée à la fin de la tache et récupère des donées et un statut.

1. Créer un instance du type de tache pour le Launcher

2. Identifier la méthode de callback à appeler après la fin de la tache

3. Modifier toute information nécessaire ou optionnelle.

4. Appeler la méthode show de l’objet task.5. Implementer l’event handler pour la

capture de données et de l’état après la completion de la tache.

using Microsoft.Phone.Tasks;-------------------------------------------------------PhotoChooserTask photoChooserTask;-------------------------------------------------------photoChooserTask = new PhotoChooserTask(); photoChooserTask.Completed += new EventHandler<PhotoResult>(photoChooserTask_Completed);-------------------------------------------------------try { photoChooserTask.Show(); } catch (System.InvalidOperationException ex) { MessageBox.Show("An error occurred."); }-------------------------------------------------------void photoChooserTask_Completed(object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { System.Windows.Media.Imaging.BitmapImage bmp = new System.Windows.Media.Imaging.BitmapImage(); bmp.SetSource(e.ChosenPhoto); myImage.Source = bmp; } }

LaunchersUn Launcher est une API qui lance une des applications natives (e.g. Email)L’application appelante est réactivée à la fin de la tache

Cloud & Service IntegrationLaunchers & Choosers

33

Page 34: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Cloud & Service IntegrationNotifications Push

34

Page 35: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

• Tile notifications– Update tile count, title and

background image• Toast notifications– Display a on-top-like

message• Raw notifications– Can be used in application

logic

Types de notifications

Cloud & Service IntegrationNotifications Push

35

Page 36: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

• Le service obtient les données de localisation de plusieurs sources : GPS, Wi-Fi et réseau céllulaire

• Les application peuvent accéder aux données de localisation

• Permet de créer des applications location-aware

Cloud & Service IntegrationLocalisation

36

Page 37: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Outils de Dev - Visual Express - WinPhone SDK - Expression Blend - l’Emulateur

La Composition d’un Projet

1er App “Hello Win Phone”

Demo

Page 38: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Conclusions

> 1,5 millions les six premiers semaines1

> 20.000 développeurs

> 6.100 applications

≈ 100 nouvelles applications par jour

38

Page 39: Win phone 7 (metoui nadia  habibi malek et ben ayad maher)

Merci Pour Votre Attention

Vous pouvez poser vos questions ?