Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
Sponsored & Brought to you by
Cross Platform Mobile Applications
in C# with
Sivanraj M
Senior Software Engineer, BizTalk36...
Xamarin – Your Complete Mobile Solution
Develop
Silo Approach
iOS WindowsAndroid
Objective-C
Xcode
C#
Visual Studio
Java
Android Studio
No shared code • Many languages & ...
Write Once, Run Anywhere
App Generator
Lua
Javascript
Actionscript
HTML+CSS
Limited native API access • Slow performance •...
Xamarin’s Unique Approach
Shared C# codebase • 100% native API access • High performance
iOS C# UI Windows C# UIAndroid C#...
Windows APIs
Microsoft.Phone Microsoft.Networking Windows.Storage Windows.Foundation Microsoft.Devices
System.Data System....
iOS – 100% API Coverage
MapKit UIKit iBeacon CoreGraphics CoreMotion
System.Data System.Windows System.Numerics System.Cor...
Android – 100% API Coverage
Text-to-speech ActionBar Printing Framework Renderscript NFC
System.Data System.Windows System...
TextToSpeech
Speak(“Hello World”);
AVSpeechSynthesizer SpeechSynthesizer
Native Performance
Xamarin.iOS does full Ahead Of Time
(AOT) compilation to produce an ARM
binary for Apple’s App Store.
X...
Extensibility
Embed Custom Views
Anywhere
Not only are Xamarin.Forms
pages mixable with custom
screens, you can embed
cust...
Visual Studio - Windows Xamarin Studio – Mac
Visual Studio Integration
Let’s take a look
Meet Xamarin.Forms
Xamarin + Xamarin.Forms
Traditional Xamarin
Approach
With Xamarin.Forms:
More code-sharing, all native
iOS C# UI Windows C...
What’s included
✓ 40+ Pages, layouts, and controls
(Build from code behind or XAML)
✓ Two-way data binding
✓ Navigation
✓ ...
ActivityIndicator BoxView Button DatePicker Editor
Entry Image Label ListView Map
OpenGLView Picker ProgressBar SearchBar ...
Windows Xamarin.Forms
StackPanel StackLayout
TextBox Entry
ListBox ListView
CheckBox Switch
ProgressBar ActivityIndicator
...
Windows Xamarin.Forms
DataContext BindingContext
{Binding Property} {Binding Property}
ItemsSource ItemsSource
ItemTemplat...
Platform Customization
<TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="...
Let’s Take a Look
Test
On Mobile, Quality is Hard
5
20
20
35
6
OS
versions
Devices
Languages
Locales
Screen
sizes
9
19K
+
39
57
27
15
6
OS versio...
Tap Scroll Swipe Pinch Multi
Finger
Text Entry Rotation GPS
xamarin.com/testcloud
Introducing Xamarin.UITest
Test Recorder for Visual Studio
• Record UITests from Visual
Studio
• Replay or ship to Test Cloud
• Use Touch Screen on A...
Test Recorder for Mac
• Record UITests for iOS and Android apps
• Replay or ship to Test Cloud
Device Remoting
Tests are performed one at the
time, which consumes more time
and delays bugs detection
Automated Testing
...
Build
Visual Studio Team Services
• Code
• Work
• Build
• Test
• Release
Visual Studio Team Services - Work
Visual Studio Team Services - Build
Visual Studio Team Services - Test
Visual Studio Team Services - Release
Distribute & Monitor
Xamarin Insights Dashboard
Get Started
Today
xamarin.com
Free 30 Day Trial - xamarin.com/university
Unrivaled Mobile
Development
Training
Live unlimited mobile development trainin...
Code Samples - https://developer.xamarin.com/samples-all
Get up to speed
with Xamarin with
our Resources
Learn how to buil...
Thank You
Follow us @
https://twitter.com/biztalk360
https://linkedin.com/company/biztalk360
https://facebook.com/biztalk3...
Introduction to Cross Platform Mobile Apps (Xamarin)
Nächste SlideShare
Wird geladen in …5
×

Introduction to Cross Platform Mobile Apps (Xamarin)

526 Aufrufe

Veröffentlicht am

This presentation is from the TechMeet360 event held on July 9, 2016 at BizTalk360 office premises. In this slide, BizTalk360's Senior Software Developer gives introduction to Cross Platform Mobile Apps (Xamarin) and its amazing features, benefits, extensibility and other customization options.

Veröffentlicht in: Technologie
  • If you want a girl to "chase" you, then you have to use the right "bait". We discovered 4 specific things that FORCE a girl to chase after you and try to win YOU over. copy and visiting... ♥♥♥ http://t.cn/AijLRbnO
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • Unlock Her Legs is your passage way to a life full of loving and sex... read more ... ◆◆◆ http://scamcb.com/unlockher/pdf
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • ➤➤ 3 Reasons Why You Shouldn't take Pills for ED (important) ➤➤ https://tinyurl.com/rockhardxx
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier

Introduction to Cross Platform Mobile Apps (Xamarin)

  1. 1. Sponsored & Brought to you by Cross Platform Mobile Applications in C# with Sivanraj M Senior Software Engineer, BizTalk360 https://twitter.com/sivanrajm https://in.linkedin.com/in/sivanrajm
  2. 2. Xamarin – Your Complete Mobile Solution
  3. 3. Develop
  4. 4. Silo Approach iOS WindowsAndroid Objective-C Xcode C# Visual Studio Java Android Studio No shared code • Many languages & development environments • Multiple teams
  5. 5. Write Once, Run Anywhere App Generator Lua Javascript Actionscript HTML+CSS Limited native API access • Slow performance • Poor user experience
  6. 6. Xamarin’s Unique Approach Shared C# codebase • 100% native API access • High performance iOS C# UI Windows C# UIAndroid C# UI Shared C# Mobile
  7. 7. Windows APIs Microsoft.Phone Microsoft.Networking Windows.Storage Windows.Foundation Microsoft.Devices System.Data System.Windows System.Numerics System.Core System.ServiceModel System.Net System System.IO System.Linq System.Xml
  8. 8. iOS – 100% API Coverage MapKit UIKit iBeacon CoreGraphics CoreMotion System.Data System.Windows System.Numerics System.Core System.ServiceModel System.Net System System.IO System.Linq System.Xml
  9. 9. Android – 100% API Coverage Text-to-speech ActionBar Printing Framework Renderscript NFC System.Data System.Windows System.Numerics System.Core System.ServiceModel System.Net System System.IO System.Linq System.Xml
  10. 10. TextToSpeech Speak(“Hello World”); AVSpeechSynthesizer SpeechSynthesizer
  11. 11. Native Performance Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App Store. Xamarin.Android takes advantage of Just In Time (JIT) compilation on the Android device.
  12. 12. Extensibility Embed Custom Views Anywhere Not only are Xamarin.Forms pages mixable with custom screens, you can embed custom views built directly against Xamarin.iOS and Xamarin.Android into Xamarin.Forms pages. Call Platform APIs via Shared Services Need platform-specific functionality within a Xamarin.Forms page, such as querying the accelerometer? We’ve included services that quickly and easily abstract platform-specific API calls to keep you writing as much shared code as possible. Easy migration to the Xamarin Platform When your native platform integration requirements outgrow Xamarin.Forms, your shared code is easily migrated to Xamarin.iOS and Xamarin.Android using the full Xamarin platform.
  13. 13. Visual Studio - Windows Xamarin Studio – Mac
  14. 14. Visual Studio Integration
  15. 15. Let’s take a look
  16. 16. Meet Xamarin.Forms
  17. 17. Xamarin + Xamarin.Forms Traditional Xamarin Approach With Xamarin.Forms: More code-sharing, all native iOS C# UI Windows C# UIAndroid C# UI Shared C# Backend Shared UI Code Shared C# Backend
  18. 18. What’s included ✓ 40+ Pages, layouts, and controls (Build from code behind or XAML) ✓ Two-way data binding ✓ Navigation ✓ Animation API ✓ Dependency Service ✓ Messaging Center Shared C# Backend Shared UI Code
  19. 19. ActivityIndicator BoxView Button DatePicker Editor Entry Image Label ListView Map OpenGLView Picker ProgressBar SearchBar Slider Stepper TableView TimePicker WebView EntryCell ImageCell SwitchCell TextCell ViewCell Controls
  20. 20. Windows Xamarin.Forms StackPanel StackLayout TextBox Entry ListBox ListView CheckBox Switch ProgressBar ActivityIndicator Grid Grid Label Label Button Button Image Image Date/TimePicker Date/TimePicker Control Comparison
  21. 21. Windows Xamarin.Forms DataContext BindingContext {Binding Property} {Binding Property} ItemsSource ItemsSource ItemTemplate ItemTemplate DataTemplate DataTemplate Binding Comparison
  22. 22. Platform Customization
  23. 23. <TabbedPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="MyApp.MainPage"> <TabbedPage.Children> <ContentPage Title="Profile" Icon="Profile.png"> <StackLayout Spacing="20" Padding="20“ VerticalOptions="Center"> <Entry Placeholder="Username" Text="{Binding Username}"/> <Entry Placeholder="Password" Text="{Binding Password}" IsPassword="true"/> <Button Text="Login" TextColor="White" BackgroundColor="#77D065" Command="{Binding LoginCommand}"/> </StackLayout> </ContentPage> <ContentPage Title="Settings" Icon="Settings.png"> <!-- Settings --> </ContentPage> </TabbedPage.Children> Native UI from shared code
  24. 24. Let’s Take a Look
  25. 25. Test
  26. 26. On Mobile, Quality is Hard 5 20 20 35 6 OS versions Devices Languages Locales Screen sizes 9 19K + 39 57 27 15 6 OS versions Distinct devices Languages Locales Screen sizes Manufacturers Screen configurations
  27. 27. Tap Scroll Swipe Pinch Multi Finger Text Entry Rotation GPS
  28. 28. xamarin.com/testcloud
  29. 29. Introducing Xamarin.UITest
  30. 30. Test Recorder for Visual Studio • Record UITests from Visual Studio • Replay or ship to Test Cloud • Use Touch Screen on Android Emulator
  31. 31. Test Recorder for Mac • Record UITests for iOS and Android apps • Replay or ship to Test Cloud
  32. 32. Device Remoting Tests are performed one at the time, which consumes more time and delays bugs detection Automated Testing Test on thousands of devices simultaneously, saving lots of time and detecting bugs more quickly Approaches to Mobile Testing
  33. 33. Build
  34. 34. Visual Studio Team Services • Code • Work • Build • Test • Release
  35. 35. Visual Studio Team Services - Work
  36. 36. Visual Studio Team Services - Build
  37. 37. Visual Studio Team Services - Test
  38. 38. Visual Studio Team Services - Release
  39. 39. Distribute & Monitor
  40. 40. Xamarin Insights Dashboard
  41. 41. Get Started Today xamarin.com
  42. 42. Free 30 Day Trial - xamarin.com/university Unrivaled Mobile Development Training Live unlimited mobile development training from mobile experts, in your time-zone, on your schedule, and as often as you'd like.
  43. 43. Code Samples - https://developer.xamarin.com/samples-all Get up to speed with Xamarin with our Resources Learn how to build iOS, Android, and Windows Mobile apps with our web resources like webinars, code samples and videos. Webinars - https://www.xamarin.com/resources/webinars Videos - https://developer.xamarin.com/videos
  44. 44. Thank You Follow us @ https://twitter.com/biztalk360 https://linkedin.com/company/biztalk360 https://facebook.com/biztalk360 Twitter : #techmeet360 Website: http://www.biztalk360.com/techmeet360

×