24
Develop Windows Phone 8 App For Absolute Beginner Presented By Khin Maung Myint (Tbit Solution) Ye Kyaw (Tbit Solution)

Develop Windows Phone 8 App for Beginner

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Develop Windows Phone 8 App for Beginner

Develop Windows Phone 8 App For Absolute Beginner

Presented By

Khin Maung Myint (Tbit Solution)

Ye Kyaw (Tbit Solution)

Page 2: Develop Windows Phone 8 App for Beginner

Window Phone HistoryWindows CE

Pocket PC 2000

Pocket PC 2002

Windows Mobile 2003

Windows Mobile 2003 SE

Windows Mobile 5

Windows Mobile 6

Windows Mobile 6.1

Windows Mobile 6.5

Windows Mobile 7

Windows Mobile 7.5

Windows Mobile 8

Page 3: Develop Windows Phone 8 App for Beginner

Window CEMicrosoft Windows CE (known as Windows Embedded Compact)

Microsoft's portable devices began with research projects in 1990

Windows Mobile was based on the Windows CE kernel

Windows CE officially began in 1992

Page 4: Develop Windows Phone 8 App for Beginner

Windows CE

Page 5: Develop Windows Phone 8 App for Beginner

Pocket PC 2000

was released on April 19, 2000

based on Windows CE 3.0

Pocket PC OS had similar appearance to Windows 98, Windows Me & Windows 2000

Page 6: Develop Windows Phone 8 App for Beginner

Windows Mobile 2003

was released on June 23, 2003

Windows Mobile 2003 Pocket PC Premium Edition

Pocket PC Professional Edition

Windows Mobile 2003 for Smartphone and Windows Mobile 2003 for Pocket PC Phone Edition

Windows Mobile 2003 SE released on March 24, 2004

Page 7: Develop Windows Phone 8 App for Beginner

Windows Mobile 5

was released at Microsoft's Mobile and Embedded Developers Conference 2005 in Las Vegas, May 9–12, 2005

used the .NET Compact Framework 1.0 SP3

Page 8: Develop Windows Phone 8 App for Beginner

Windows Mobile 6

released on February 12, 2007 at the 3GSM World Congress 2007

three different versions:Windows Mobile 6 Standard" for Smartphones

Windows Mobile 6 Professional" for Pocket PCs

Windows Mobile 6 Classic" for Pocket PCs without cellular radios

Page 9: Develop Windows Phone 8 App for Beginner

Windows Mobile 6.5

was released to manufacturers on May 11, 2009

This version was designed mainly for easier finger usage

6.5.1 brings larger user interface elements

6.5.3 minor update was announced on February 2, 2010

Sony Ericsson Aspen which was the first phone to use this version

6.5.5 released in January 2010

Page 10: Develop Windows Phone 8 App for Beginner

Window Phone 7

Windows Phone 7 is Windows Phone mobile client operating system

released worldwide on October 21, 2010

featured a new user interface

which combine local & online content via WP's integration with popular social networks such as Facebook, Windows Live, and Twitter

Windows Phone 7.5 was released in May 2011

Page 11: Develop Windows Phone 8 App for Beginner

Windows Phone 8second generation of mobile OS

released on October 29th, 2012

features interface known as Metro (or Modern UI or design language)

Metro is internal code name of a typography-based design language, originally for use in Window Phone.

better focus on content of applications.

Page 12: Develop Windows Phone 8 App for Beginner

Window Phone 8 FeaturesA mobile operating system operates a smartphone, tablet, PDA, or other digital mobile devices.

Modern mobile operating systems combine the features with touchscreen, cellular, Bluetooth, WiFi, GPS mobile navigation, camera, video camera, speech recognition, voice recorder, music player, Near field communication, personal digital assistant (PDA).

Page 13: Develop Windows Phone 8 App for Beginner

Window Phone PartnershipNokia announced partnership with Microsoft on February 11, 2011

Windows Phone OS Nokia, HTC, Samsung, Huawei

Page 14: Develop Windows Phone 8 App for Beginner

HTC SAMSUMG HUAWEI NOKIA

Page 15: Develop Windows Phone 8 App for Beginner

TOP SMARTPHONE OS BY INSTALLED BASE AT END OF 2012

Android . . . about 710 million smartphones in use and 53% of global installed base

iOS . . . about 260 million smartphones in use and 19% of global installed base

Symbian . . . about 190 million smartphones in use and 14% of global installed base

Blackberry . . . 104 million smartphones in use and 8% of global installed base

Bada . . . about 30 million smartphones in use and above 2% of global installed base

Windows Phone . . . about 20 million smartphones in use and under 2% of global installed base

Page 16: Develop Windows Phone 8 App for Beginner

Windows Phone Development Tools

Windows 8 64 bits

Microsoft Visual Studio 2012

Windows Phone 8 SDK

Hardware: 6.5 GB of free hard disk space

4 GB RAM

64-bit (x64) CPU

www.microsoft.com/en-us/download/details.aspx?id=35471

Page 17: Develop Windows Phone 8 App for Beginner
Page 18: Develop Windows Phone 8 App for Beginner

DEMO

Windows Phone 8

Page 19: Develop Windows Phone 8 App for Beginner

Isolated Storage

Isolated Storage is used to store local data on a Windows Phone 8 phone.

storage resources on a phone are limited.

so applications should only store necessary data.

All I/O operations are restricted to isolated storage and do not have direct access to the underlying operating system file system.

Windows Phone has only 10% of storage space remaining, the user will receive a notification of this status and even the whole app can stop working

Page 20: Develop Windows Phone 8 App for Beginner

Save File with IsolatedStorage

ar appStorage = IsolatedStorageFile.GetUserStoreForApplication();

if (!appStorage.FileExists(filename)) { using (var file = appStorage.CreateFile(filename)) { using (var writer = new StreamWriter(file)) { writer.WriteLine(fileContent); } } }

Page 21: Develop Windows Phone 8 App for Beginner

Retrieve File with IsolatedStorage

var appStorage = IsolatedStorageFile.GetUserStoreForApplication();

string fileName = "text1.txt";//NavigationContext.QueryString["id"];

using (StreamReader sr = new StreamReader(appStorage.OpenFile(fileName, System.IO.FileMode.Open))) { text1.Text = sr.ReadLine(); }

Page 22: Develop Windows Phone 8 App for Beginner

Application Demo

Page 23: Develop Windows Phone 8 App for Beginner
Page 24: Develop Windows Phone 8 App for Beginner

THANK YOU FOR YOUR ATTENTION

Q & A