Download - Windows 8 and Phone App Development
![Page 1: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/1.jpg)
Windows 8 and Phone App Development
Paul Gower
@paulmgower
http://blog.paulgower.me
http://lunamark.com
![Page 2: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/2.jpg)
Image credit: Jason Emprey
Share As Much As Possible
![Page 3: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/3.jpg)
Real-world stocks - example
![Page 4: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/4.jpg)
Design
![Page 5: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/5.jpg)
What is common?
Windows Phone
Windows
![Page 6: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/6.jpg)
Windows
What is different?
Windows Phone
![Page 7: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/7.jpg)
GridView Panorama
![Page 8: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/8.jpg)
GridView
![Page 9: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/9.jpg)
Demo
![Page 10: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/10.jpg)
AppBar
![Page 11: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/11.jpg)
On screen
![Page 12: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/12.jpg)
![Page 13: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/13.jpg)
Develop
![Page 14: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/14.jpg)
![Page 15: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/15.jpg)
PCL –Visual Studio Support
Cross-Platform Development with the Portable Class Library on MSDN - http://msdn.microsoft.com/en-us/library/gg597391(v=vs.110).aspx
![Page 16: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/16.jpg)
Portable Class Library
Demo
![Page 17: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/17.jpg)
What is Windows Azure Mobile Services?
![Page 18: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/18.jpg)
Key ScenariosWindows Azure Mobile Services are ideal for:
![Page 19: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/19.jpg)
Image credit: http://quickmeme.com
![Page 20: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/20.jpg)
Linked files
![Page 21: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/21.jpg)
Linked files
Hold Alt and drag a folder to link multiple files at once!
Windows Phone Windows
![Page 22: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/22.jpg)
Linked Files
Demo
![Page 23: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/23.jpg)
#if NETFX_CORE
Dispatcher.RunAsync(CoreDispatcherPriority.Normal, myAction);
#endif
#if WINDOWS_PHONE
Deployment.Current.Dispatcher.BeginInvoke(myAction);
#endif
Windows
Windows phone
![Page 24: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/24.jpg)
Compiler Directives
Demo
![Page 25: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/25.jpg)
Comparison
Sharing an assembly (PCL)
+
Code remains clean and single purpose
Build, test, compile once
-
Limited API access
Can’t reference non-PCL assemblies
Won’t work with Express SKUs (until VS2013)
+
-
![Page 26: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/26.jpg)
Architecture
![Page 27: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/27.jpg)
Portable Class Library
CoreViewModels
Services
Models
Windows
App Startup / Lifecycle
Views
Controls
Converters
ViewModels
Windows Phone
App Startup / Lifecycle
Views
Controls
Converters
ViewModels
![Page 28: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/28.jpg)
Demo
![Page 29: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/29.jpg)
Summary –What to share?
✋
✋
✋
✋
![Page 31: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/31.jpg)
XPlatformCloudKit
Demo
![Page 32: Windows 8 and Phone App Development](https://reader033.vdocument.in/reader033/viewer/2022052908/5595a0ea1a28ab19448b46d5/html5/thumbnails/32.jpg)
• Stuart Lodge (creator of MvvmCross) – http://slodge.blogspot.com
• MvvmCross GitHub - http://github.com/MvvmCross/MvvmCross
• Paul DeCarlo (creator of XPlatformCloudKit) – http://pjdecarlo.com
• XPlatformCloudKit GitHub – http://github.com/winappkits/XPlatformCloudKit
• Azure Mobile Services – http://azure.microsoft.com/en-us/develop/mobile
• Portable Class Library – http://msdn.microsoft.com/en-us/library/gg597391(v=vs.110).aspx
• Xamarin Studio – http://www.xamarin.com
Resources