Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

Launch your Windows 8 App in 30 days  Generation App  Online training and tips from insiders  Tele-support with a Windows 8 architect  Exclusive one-on-one WinRT and Windows UX design consultation  Sign up at http://rj.cx/app_in_30_days

Slide 3

Slide 3 text

meetup.com/Win-App-Devs/

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

As of March 2012, IDC

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

demo

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

demo

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

C++ ImageEncodingProperties^ imageProperties = ref new ImageEncodingProperties(); imageProperties->Subtype = "JPEG"; imageProperties->Width = 320; imageProperties->Height = 240; auto opCapturePhoto = m_mediaCaptureMgr->CapturePhotoToStorageFileAsync(imageProperties, this->m_photoStorageFile); C# ImageEncodingProperties imageProperties = new ImageEncodingProperties(); imageProperties.Subtype = "JPEG"; imageProperties.Width = 320; imageProperties.Height = 240; await mediaCaptureMgr.CapturePhotoToStorageFileAsync(imageProperties, photoStorageFile); JavaScript var photoProperties = new Windows.Media.MediaProperties.ImageEncodingProperties(); photoProperties.subtype = "JPEG"; photoProperties.width = 320; photoProperties.height = 240; mediaCaptureMgr.capturePhotoToStorageFileAsync(photoProperties, photoStorage).then(…

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

App gets 5s to handle suspend App is not notified before termination Apps are notified when they have been resumed User Launches App Splash screen

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

Seamless data access Data Roaming Performant Native platform Capabilities driven High isolation

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

Unprecedented Reach Optimized for Discoverability Transparent Approval Process Flexible Business Models Maximizing Developer Revenue

Slide 33

Slide 33 text

Paid downloads, trials, and in-app purchases. You keep 70% of the first $25k, 80% of the rest Microsoft Confidential 33 Robust analytics for free, including demographics, reviews, referrals, and usage & performance statistics Use your own commerce engine and keep 100% or use the Windows Store’s full commerce platform The Windows Store Advertise with Microsoft Advertising or your preferred ad vendor.

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

Launch your Windows 8 App in 30 days  Generation App  Online training and tips from insiders  Tele-support with a Windows 8 architect  Exclusive one-on-one WinRT and Windows UX design consultation  Sign up at http://rj.cx/app_in_30_days

Slide 36

Slide 36 text

meetup.com/Win-App-Devs/

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

No content

Slide 41

Slide 41 text

DllImport "avicap32.dll" "capCreateCaptureWindow" static extern int string int int int int int int int DllImport "avicap32.dll" static extern bool int MarshalAs UnmanagedType ref string int MarshalAs UnmanagedType ref string int // more and more of the same

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

using Windows.Media.Capture; var new CameraCaptureUI new Size var await CameraCaptureUIMode if var new BitmapImage await FileAccessMode

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

No content

Slide 47

Slide 47 text

No content

Slide 48

Slide 48 text

No content

Slide 49

Slide 49 text

No content

Slide 50

Slide 50 text

using Windows.Storage; using System; using System.IO; using System.Threading.Tasks; class Sample { static async Task WriteAsync(StorageFolder wrtfolder, string filename, string text) { var wrtFile = await wrtFolder.CreateFileAsync(filename); var wrtStream = await wrtFile.OpenAsync(FileAccessMode.ReadWrite); using (Stream stream = wrtStream.OpenWrite()) { using (var writer = new StreamWriter(stream)) { writer.WriteLine(text); } } } } native type native method managed type returned from a seemingly native method managed argument passed to native API native namespace C# feature

Slide 51

Slide 51 text

Windows Runtime Types Mapped Types Interop Helpers 99% of Windows* namespaces Int32, String, Boolean, IEnumerable, IList, Uri, etc. IBuffer / Byte[] IAsync* / Task* InputStream, OutputStream, Managed Types Tuple, List, XDocument, DataContract, etc.

Slide 52

Slide 52 text

Windows Phone 7 Silverlight 5 .NET Framework 4.5 .NET Profile for Windows Store apps

Slide 53

Slide 53 text

No content

Slide 54

Slide 54 text

No content

Slide 55

Slide 55 text

No content

Slide 56

Slide 56 text

FileOpenPicker picker = new FileOpenPicker(); picker.FileTypeFilter.Add("*"); StorageFile file = await picker.PickSingleFileAsync(); Windows.Storage.Streams.IInputStream inputStream = await file.OpenReadAsync(); System.IO.Stream stream = inputStream.AsStreamForRead(); System.IO.StreamReader reader = new StreamReader(stream); string contents = reader.ReadToEnd();

Slide 57

Slide 57 text

No content

Slide 58

Slide 58 text

No content

Slide 59

Slide 59 text

No content

Slide 60

Slide 60 text

No content

Slide 61

Slide 61 text

demo

Slide 62

Slide 62 text

No content

Slide 63

Slide 63 text

No content

Slide 64

Slide 64 text

var var

Slide 65

Slide 65 text

No content

Slide 66

Slide 66 text

No content

Slide 67

Slide 67 text

No content

Slide 68

Slide 68 text

demo

Slide 69

Slide 69 text

// Windows.Storage.winmd (Windows Runtime API) public sealed class StorageFolder { public StorageFileViewOperation GetFilesAsync(); … }

Slide 70

Slide 70 text

// Windows.Storage.winmd (Windows Runtime API) public sealed class StorageFolder { public StorageFileViewOperation GetFilesAsync(); … } // Your code IReadOnlyList files = await folder.GetFilesAsync();

Slide 71

Slide 71 text

// Windows.Storage.winmd (Windows Runtime API) public sealed class StorageFolder { public StorageFileViewOperation GetFilesAsync(); … } // Your code IReadOnlyList files = await folder.GetFilesAsync(); // Compiler Generates awaiter = WindowsRuntimeSystemExtensions.GetAwaiter>(this.folder.GetFilesAsync());

Slide 72

Slide 72 text

// Windows.Storage.winmd (Windows Runtime API) public sealed class StorageFolder { public StorageFileViewOperation GetFilesAsync(); … } // Your code IReadOnlyList files = await folder.GetFilesAsync(); // Compiler Generates awaiter = WindowsRuntimeSystemExtensions.GetAwaiter>(this.folder.GetFilesAsync()); // System.Runtime.WindowsRuntime.dll (.NET API) public static class WindowsRuntimeSystemExtensions { public TaskAwaiter GetAwaiter(this IAsyncOperation source); … }

Slide 73

Slide 73 text

No content

Slide 74

Slide 74 text

No content

Slide 75

Slide 75 text

demo

Slide 76

Slide 76 text

No content

Slide 77

Slide 77 text

No content

Slide 78

Slide 78 text

No content

Slide 79

Slide 79 text

No content

Slide 80

Slide 80 text

No content

Slide 81

Slide 81 text

No content

Slide 82

Slide 82 text

Launch your Windows 8 App in 30 days  Generation App  Online training and tips from insiders  Tele-support with a Windows 8 architect  Exclusive one-on-one WinRT and Windows UX design consultation  Sign up at http://rj.cx/app_in_30_days

Slide 83

Slide 83 text

• Windows 8 Camp in a Box - Includes more presentations and labs http://rj.cx/windows8campinabox • SDK Samples!!! - A TON of samples for http://j.mp/Visual-Studio-Express-2012 • Design resources http://rj.cx/sara_win8design

Slide 84

Slide 84 text

meetup.com/Win-App-Devs/

Slide 85

Slide 85 text

No content

Slide 86

Slide 86 text

 With Over 630 Million Licenses in 200+ Countries, Windows Has Unrivaled Global Reach  Windows 8 Represents the Single Biggest Developer Opportunity for Any Platform  In order for your app to be available for the holiday rush, you need to get ready now!  Hundreds of Thousands of Developers Recognize the Opportunity, but…  Only Some Will Have the Advantage of These Programs

Slide 87

Slide 87 text

Launch your Windows 8 App in 30 days  Generation App  Online training and tips from insiders  Tele-support with a Windows 8 architect  Exclusive one-on-one WinRT and Windows UX design consultation  Sign up at http://rj.cx/app_in_30_days

Slide 88

Slide 88 text

Use Azure for your Windows Apps Sign up for your FREE 90 Day Azure trial http://aka.ms/TheCloud http://chriskoenig.net/azure

Slide 89

Slide 89 text

No content

Slide 90

Slide 90 text

No content

Slide 91

Slide 91 text

No content

Slide 92

Slide 92 text

No content

Slide 93

Slide 93 text

No content

Slide 94

Slide 94 text

demo

Slide 95

Slide 95 text

No content

Slide 96

Slide 96 text

No content

Slide 97

Slide 97 text

No content

Slide 98

Slide 98 text

demo

Slide 99

Slide 99 text

No content

Slide 100

Slide 100 text

No content

Slide 101

Slide 101 text

No content

Slide 102

Slide 102 text

demo

Slide 103

Slide 103 text

No content

Slide 104

Slide 104 text

No content

Slide 105

Slide 105 text

No content

Slide 106

Slide 106 text

demo

Slide 107

Slide 107 text

No content

Slide 108

Slide 108 text

No content

Slide 109

Slide 109 text

demo

Slide 110

Slide 110 text

No content

Slide 111

Slide 111 text

No content

Slide 112

Slide 112 text

No content