Develop Windows Phone 8 App
    For Absolute Beginner



                  Presented By
            Khin Maung Myint (Tbit Solution)
            Ye Kyaw (Tbit Solution)
Window Phone History
Windows 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
Window CE
Microsoft 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
Windows CE
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
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
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
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
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
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
Windows Phone 8
second 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.
Window Phone 8 Features
A 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).
Window Phone Partnership
Nokia announced partnership with Microsoft on February
11, 2011
Windows Phone OS Nokia, HTC, Samsung, Huawei
HTC   SAMSUMG HUAWEI   NOKIA
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
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
DEMO



       Windows Phone 8
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
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);
             }
           }
       }
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();
        }
Application Demo
THANK YOU FOR YOUR ATTENTION

           Q&A

Develop Windows Phone 8 App for Beginner

  • 1.
    Develop Windows Phone8 App For Absolute Beginner Presented By Khin Maung Myint (Tbit Solution) Ye Kyaw (Tbit Solution)
  • 2.
    Window Phone History WindowsCE 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
  • 3.
    Window CE Microsoft WindowsCE (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
  • 4.
  • 5.
    Pocket PC 2000 wasreleased on April 19, 2000 based on Windows CE 3.0 Pocket PC OS had similar appearance to Windows 98, Windows Me & Windows 2000
  • 6.
    Windows Mobile 2003 wasreleased 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
  • 7.
    Windows Mobile 5 wasreleased at Microsoft's Mobile and Embedded Developers Conference 2005 in Las Vegas, May 9–12, 2005 used the .NET Compact Framework 1.0 SP3
  • 8.
    Windows Mobile 6 releasedon 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
  • 9.
    Windows Mobile 6.5 wasreleased 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
  • 10.
    Window Phone 7 WindowsPhone 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
  • 11.
    Windows Phone 8 secondgeneration 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.
  • 12.
    Window Phone 8Features A 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).
  • 13.
    Window Phone Partnership Nokiaannounced partnership with Microsoft on February 11, 2011 Windows Phone OS Nokia, HTC, Samsung, Huawei
  • 14.
    HTC SAMSUMG HUAWEI NOKIA
  • 15.
    TOP SMARTPHONE OSBY 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
  • 16.
    Windows Phone DevelopmentTools 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
  • 18.
    DEMO Windows Phone 8
  • 19.
    Isolated Storage IsolatedStorage 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
  • 20.
    Save File withIsolatedStorage ar appStorage = IsolatedStorageFile.GetUserStoreForApplication(); if (!appStorage.FileExists(filename)) { using (var file = appStorage.CreateFile(filename)) { using (var writer = new StreamWriter(file)) { writer.WriteLine(fileContent); } } }
  • 21.
    Retrieve File withIsolatedStorage 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(); }
  • 22.
  • 24.
    THANK YOU FORYOUR ATTENTION Q&A