windows phone development

40
Windows Phone Development Nguyen Pham [email protected] http://phamnguyen.info

Upload: nguyen-pham

Post on 14-May-2015

207 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Windows Phone Development

Windows PhoneDevelopment

Nguyen [email protected] http://phamnguyen.info

Page 2: Windows Phone Development

Windows Phone Microsoft confidential.

Agenda

Silverlight Controls

Fundamental Concepts

Isolated storage

Local Database

Location Services

2

Page 3: Windows Phone Development

Windows Phone Microsoft confidential.

Controls

Page 4: Windows Phone Development

Windows Phone Microsoft confidential.

Page 5: Windows Phone Development

Windows Phone Microsoft confidential.

5

Page 6: Windows Phone Development

Windows Phone Microsoft confidential.

6

Page 7: Windows Phone Development

Windows Phone Microsoft confidential.

7

Page 8: Windows Phone Development

Windows Phone Microsoft confidential.

Page 9: Windows Phone Development

Windows Phone Microsoft confidential.

Page 10: Windows Phone Development

Windows Phone Microsoft confidential.

ApplicationBar

Page 11: Windows Phone Development

Windows Phone Microsoft confidential.

Page 12: Windows Phone Development

Windows Phone Microsoft confidential.

Don’t fill all 4 slots if not needed

Use the ApplicationBar instead of creating your own menu system

Up to 4 buttons plus optional menuSwipe up the bar to bring up the menu

Swipe up the bar to bring up the menu

Page 13: Windows Phone Development

Windows Phone Microsoft confidential.

13

<phone:PhoneApplicationPagex:Class=“MyApp.MainPage”… >

<phone:PhoneApplicationPage.ApplicationBar><shell:ApplicationBar x:Name="AppBar" IsMenuEnabled="True">

<shell:ApplicationBar.Buttons><shell:ApplicationBarIconButton x:Name="NewContactButton"

IconUri="Images/appbar.new.rest.png" Text="New" Click="NewContactButton_Click"/>

<shell:ApplicationBarIconButton x:Name="SearchButton" IconUri="Images/appbar.feature.search.rest.png" Text="Find" Click="SearchButton_Click"/>

</shell:ApplicationBar.Buttons><shell:ApplicationBar.MenuItems>

<shell:ApplicationBarMenuItem x:Name="GenerateMenuItem" Text="Generate Data" Click="GenerateMenuItem_Click" />

<shell:ApplicationBarMenuItem x:Name="ClearMenuItem" Text="Clear Data" Click="ClearMenuItem_Click" />

</shell:ApplicationBar.MenuItems></shell:ApplicationBar>

</phone:PhoneApplicationPage.ApplicationBar>

Page 14: Windows Phone Development

Windows Phone Microsoft confidential.

Demo ApplicationBar

14

Page 15: Windows Phone Development

Windows Phone Microsoft confidential.Windows Phone

Page 16: Windows Phone Development

Windows Phone Microsoft confidential.

Page 17: Windows Phone Development

Windows Phone Microsoft confidential.

Demo Launcher

17

Page 18: Windows Phone Development

Windows Phone Microsoft confidential.Windows Phone

Page 19: Windows Phone Development

Windows Phone Microsoft confidential.

Page 20: Windows Phone Development

Windows Phone Microsoft confidential.

Demo Chooser

20

Page 21: Windows Phone Development

Windows Phone Microsoft confidential.Windows Phone

Page 22: Windows Phone Development

Windows Phone Microsoft confidential.Windows Phone

Page 23: Windows Phone Development

Windows Phone Microsoft confidential.Windows Phone

Page 24: Windows Phone Development

Windows Phone Microsoft confidential.

Demo

24

Page 25: Windows Phone Development

Windows Phone Microsoft confidential.Windows Phone

Page 26: Windows Phone Development

Windows Phone Microsoft confidential.Windows Phone

Page 27: Windows Phone Development

Windows Phone Microsoft confidential.Windows Phone

Page 28: Windows Phone Development

Windows Phone Microsoft confidential.Windows Phone

Page 29: Windows Phone Development

Windows Phone Microsoft confidential.

Demo

29

Page 30: Windows Phone Development

Windows Phone Microsoft confidential.Windows Phone

Page 31: Windows Phone Development

Windows Phone Microsoft confidential.Windows Phone

Page 32: Windows Phone Development

Windows Phone Microsoft confidential.Windows Phone

Page 33: Windows Phone Development

Windows Phone Microsoft confidential.Windows Phone

Page 34: Windows Phone Development

Windows Phone Microsoft confidential.

Demo

34

Page 35: Windows Phone Development

Windows Phone Microsoft confidential.Windows Phone

Page 36: Windows Phone Development

Windows Phone Microsoft confidential.Windows Phone

Page 37: Windows Phone Development

Windows Phone Microsoft confidential.Windows Phone

Page 38: Windows Phone Development

Windows Phone Microsoft confidential.

Demo

38

Page 39: Windows Phone Development

Windows Phone Microsoft confidential.

Page 40: Windows Phone Development

© 2011 Microsoft Corporation.

All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of

Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to

changing market conditions, it should not be interpreted to be a commitment on the part of

Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the

date of this presentation.

MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO

THE INFORMATION IN THIS PRESENTATION.