39
INTRODUCING XAMARIN 2.0 Pls check our blog at NFLXUG.com North Florida Xamarin User Group

X-Platform native apps in C# and .NET using Xamarin tools (iOS/WP/Android)

Embed Size (px)

DESCRIPTION

Create native apps in C# with device-specific experiences, share non-UI code across iOS, Windows 8 and Android.

Citation preview

  • 1.INTRODUCING XAMARIN 2.0 Pls check our blog at NFLXUG.com North Florida Xamarin User Group

2. X-PLATFORM NATIVE APPS IN C# AND .NET USING XAMARIN TOOLS (IOS/WP/ANDROID) MARK J RADACZ, MCTS DEVELOPER, GLOBAL RAD SOLUTIONS, LLC WWW.MDUGJAX.COM WWW.NFLXUG.COM BLOG: XRADAPP.COM @MARKRADACZ 3. LIVE THE LIFE YOU LOVE.. LOVE THE LIFE YOU LIVE 4. Who am I? Mark J Radacz #HusbandFatherLife-LongMateGeek Enjoying every trip around the Sun MCTS, Consultant, Developer 10 years in .NET + iOS recently Ex-Blackberry-Apple-WP fanboy 5. QUESTION: CAN I WRITE CODE ONCE AND RUN ON ALL DEVICES? 6. Write C# Run on 2.5+ billion devices With Xamarin, you write your apps entirely in C#, sharing the same code on iOS, Android, Windows and Mac 7. AGENDA What is Xamarin Studio Why choose Xamarin tools UX Design Code Demo in iOS, WP and Android 8. WHAT IS XAMARIN Write in C# - run on iOS (iPhone, iPodTouch, iPad) and Android Built on top of Mono Xamarin Studio - Mac OS X APIs Xamarin.Android - Android SDK APIs .NET Base Class Library (BCL) LEGIT! 9. HOW XAMARIN WORKS Your shared code never needs to know the difference! 10. WHY CHOOSE XAMARIN 11. APPS IN C# FOR IOS, ANDROID AND WP Write apps in C# (run on 2.5 billion devices) shorter, more maintainable code advanced language features (Language Integrated Query (LINQ), delegates, lambdas, events, garbage collection and many other) Reuse up to 90% of code between platforms Native UI, Native Performance Modern Language, Powerful Framework .NET Libraries and Objective-C libraries Rich IDE Support (also edit code in VS) 12. ANDROID DEVICE FRAGMENTATION July 2013 11,686 devices http://opensignal.com/reports/fragmentation-2013/ July 2012 3,997 devices 13. SCREEN SIZES http://opensignal.com/blog/2013/07/30/40-developer-tips-for-android- Android iOS 14. POWERFUL XAMARIN DESIGNER 15. XAMARIN COMPONENT STORE 16. SHARE CODE BETWEEN PLATFORMS App functionality save development time business logic data access and network communications Xamarin helps to share the same C# code across iOS, Android, Mac, and Windows GUI Designed separately on Each platform 17. MVVMCROSS 18. SHARING CODE BETWEEN PLATFORMS File Linking into each App Project File Linking into Separate Projects Cloned Project Files Microsoft Project Linker http://bit.ly/12C4pNF 19. FILE LINKING 20. FILE LINKING TO SEPARATE PROJECTS 21. Developing with Xamarin Xamarin Studio PC or Mac Visual Studio Plugin VS 2012/2013 22. XAMARIN TEST CLOUD Start immediately Useful Visual Reports Hundreds of non-jailbroken devices Test for fragmentation Built for Continuous Integration Object-based UI testing script-free and scriptable 23. TESTING MOBILE APPS 24. TEST CLOUD INTERFACE 25. Scripting technology for Xamarin Test Cloud UI Test Automation for iOS & Android Run UI tests on Devices or Simulators/Emulators Supports Behavior Driven Development (BDD) Provides the Automation APIs needed to interact with UI controls in an app wait for events to occur (i.e. no network activity) make assertions about the visible view generate screenshots of the app app-lifecycle APIs (start/stop, uninstall, etc) 26. UX DESIGN 27. *UIKitten pic snagged from FrankAKrueger 28. PLATFORM SPECIFIC SCHETCHES/WIREFRAMES UX Wireframes using Balsamiq, Mockingbird, Visio, etc 29. PLATFORM SPECIFIC UX i.e. W8 - Live Tiles 30. PLATFORM SPECIFIC UX i.e. iOS7 (still) no back button 31. DEVICE SPECIFIC UX Phone vs Tablet 32. FOLLOW PLATFORM SPECIFIC UX Apple - Human Interface Guidelines Android Design Guidelines Windows Phone UX Design Guidelines for WP 33. CODE DEMO(S) 34. PHONEWORD 35. SUMMARY What is Xamarin Studio Why choose Xamarin tools UX Design Code Demo in iOS, WP and Android 36. Q&A 37. REFERENCES UX Design for Devs Tapworthy by Josh Clark http://www.youtube.com/watch?v=QU5Il9qVfbM Universal Principles of Desing by William Lidwell et. al. BillyHollis.com (watch: The Whole Brain Developer ) Videos http://www.youtube.com/user/XamarinHQ Sample GitHub Repositories https://github.com/xamarin/mobile-samples (x-platform) https://github.com/xamarin/monotouch-samples https://github.com/xamarin/monodroid-samples https://github.com/xamarin/Seminars Xamarin.com/University 38. TEST CLOUD REFERENCES http://xamarin.com/test-cloud http://docs.xamarin.com/ https://github.com/calabash-ios https://github.com/calabash-ios/wiki https://github.com/calabash/field-service-example https://github.com/calabash/x-platform-example 39. REFERENCES Xamarin DevCenter - http://docs.xamarin.com/guides/cross-platform/ free/$299/$999/$1899 per year per platform (starter/Indie/Business/Enterprise) UX Apple - Human Interface Guidelines Android Design Guidelines Windows Phone UX Design Guidelines for WP DevCenter Memberships Apple http://developer.apple.com ($99/year) Android http://developer.android.com ($25) Win Store http://dev.windowsphone.com ($19/99 year) XUG & My Info www.NFLXUG.com blog: www.iRadApp.com [email protected] @MarkRadacz