Getting Started using Mono for Android   Building Android Applications in C#               May 17, 2012            Copyrig...
AgendaIntroduction to Mono for Android                          Mike Bluestein                          Technical Writer  ...
IntroductionThis session will cover the following:                                                             Xamarin    ...
IntroductionThis session will cover the following:   Overview of Mono for Android                                         ...
IntroductionThis session will cover the following:   Overview of Mono for Android      Building a Simple App              ...
IntroductionThis session will cover the following:   Overview of Mono for Android      Building a Simple App      Using th...
IntroductionThis session will cover the following:   Overview of Mono for Android       Building a Simple App       Using ...
IntroductionThis session will cover the following:   Overview of Mono for Android       Building a Simple App       Using ...
IntroductionThis session will cover the following:   Overview of Mono for Android       Building a Simple App       Using ...
What is Mono for   Android?
What is Mono for       Android?• Platform that allows developing native  Android applications using C#
What is Mono for       Android?• Platform that allows developing native  Android applications using C#• Bindings to the An...
What is Mono for       Android?• Platform that allows developing native  Android applications using C#• Bindings to the An...
What is Mono for       Android?• Platform that allows developing native  Android applications using C#• Bindings to the An...
OS Support
OS Support• OSX
OS Support• OSX • MonoDevelop
OS Support• OSX • MonoDevelop• Windows
OS Support• OSX • MonoDevelop• Windows • Visual Studio 2010 Pro or above
OS Support• OSX • MonoDevelop• Windows • Visual Studio 2010 Pro or above • MonoDevelop
Unified Installer• Installs Mono for Android and all its  prerequisites
Simple Example
How does it work?
How does it work?• Resource.designer.cs is generated for  Android resources
How does it work?• Resource.designer.cs is generated for  Android resources  • Images, Strings, etc
How does it work?• Resource.designer.cs is generated for  Android resources  • Images, Strings, etc• Code compiled to .NET...
How does it work?• Resource.designer.cs is generated for  Android resources  • Images, Strings, etc• Code compiled to .NET...
UI Designer
UI Designer
UI Designer• Available on both OSX and Windows
UI Designer• Available on both OSX and Windows• Visually construct view hierarchies
UI Designer• Available on both OSX and Windows• Visually construct view hierarchies• Generates Android XML
UI Designer• Available on both OSX and Windows• Visually construct view hierarchies• Generates Android XML• Resource support
UI Designer• Available on both OSX and Windows• Visually construct view hierarchies• Generates Android XML• Resource suppo...
UI Designer• Available on both OSX and Windows• Visually construct view hierarchies• Generates Android XML• Resource suppo...
UI Designer• Available on both OSX and Windows• Visually construct view hierarchies• Generates Android XML• Resource suppo...
Android SDK
Android SDK• Intents
Android SDK• Intents• Activities
Android SDK• Intents• Activities• Services
Android SDK• Intents• Activities• Services• Content Providers
Android SDK• Intents• Activities• Services• Content Providers• Fragments
Android SDK• Intents• Activities• Services• Content Providers• Fragments• Ice Cream Sandwich (Android 4.x)
Android SDK• Intents• Activities• Services• Content Providers• Fragments• Ice Cream Sandwich (Android 4.x)• etc...
Multi-Screen Example
Existing Java Libraries• Mono for Android ships with bindings for  Android SDK (in Mono.Android.dll)• Third party Java lib...
x86 Emulator• Available for Android  2.3.3 (API Level 10)• Faster • Startup • Build, deploy, debug
ReferencesGetting Started Serieshttp://docs.xamarin.com/android/getting_startedTutorialshttp://docs.xamarin.com/android/tu...
Xamarin    Seminar   Please give us your feedback  http://bit.ly/xamfeedback      Follow us on Twitter        @XamarinHQ  ...
Upcoming SlideShare
Loading in …5
×

Getting Started using Mono for Android

20,200 views

Published on

Video for this session: http://www.youtube.com/watch?v=us8j93EZt4U

Give your feedback on the session: http://bit.ly/xamfeedback

If you are new to Mono for Android then this is a great place to start, watch Mike walkthrough getting started with Android development with C# using Mono for Android.

Published in: Technology, Education
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
20,200
On SlideShare
0
From Embeds
0
Number of Embeds
15,726
Actions
Shares
0
Downloads
209
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Getting Started using Mono for Android

    1. 1. Getting Started using Mono for Android Building Android Applications in C# May 17, 2012 Copyright 2012 © Xamarin Inc. All rights reserved
    2. 2. AgendaIntroduction to Mono for Android Mike Bluestein Technical Writer Xamarin Documentation Team mike.bluestein@xamarin.com Xamarin Copyright 2012 © Xamarin Inc. All rights reserved
    3. 3. IntroductionThis session will cover the following: Xamarin Copyright 2012 © Xamarin Inc. All rights reserved
    4. 4. IntroductionThis session will cover the following: Overview of Mono for Android Xamarin Copyright 2012 © Xamarin Inc. All rights reserved
    5. 5. IntroductionThis session will cover the following: Overview of Mono for Android Building a Simple App Xamarin Copyright 2012 © Xamarin Inc. All rights reserved
    6. 6. IntroductionThis session will cover the following: Overview of Mono for Android Building a Simple App Using the UI Designer Xamarin Copyright 2012 © Xamarin Inc. All rights reserved
    7. 7. IntroductionThis session will cover the following: Overview of Mono for Android Building a Simple App Using the UI Designer Creating a Multi-screen App Xamarin Copyright 2012 © Xamarin Inc. All rights reserved
    8. 8. IntroductionThis session will cover the following: Overview of Mono for Android Building a Simple App Using the UI Designer Creating a Multi-screen App System Provided Features Xamarin Copyright 2012 © Xamarin Inc. All rights reserved
    9. 9. IntroductionThis session will cover the following: Overview of Mono for Android Building a Simple App Using the UI Designer Creating a Multi-screen App System Provided Features x86 Emulator Support Xamarin Copyright 2012 © Xamarin Inc. All rights reserved
    10. 10. What is Mono for Android?
    11. 11. What is Mono for Android?• Platform that allows developing native Android applications using C#
    12. 12. What is Mono for Android?• Platform that allows developing native Android applications using C#• Bindings to the Android Java SDK
    13. 13. What is Mono for Android?• Platform that allows developing native Android applications using C#• Bindings to the Android Java SDK • Mono.Android.dll
    14. 14. What is Mono for Android?• Platform that allows developing native Android applications using C#• Bindings to the Android Java SDK • Mono.Android.dll• Enables code reuse to other .NET environments such as iOS (via MonoTouch) and Windows Phone
    15. 15. OS Support
    16. 16. OS Support• OSX
    17. 17. OS Support• OSX • MonoDevelop
    18. 18. OS Support• OSX • MonoDevelop• Windows
    19. 19. OS Support• OSX • MonoDevelop• Windows • Visual Studio 2010 Pro or above
    20. 20. OS Support• OSX • MonoDevelop• Windows • Visual Studio 2010 Pro or above • MonoDevelop
    21. 21. Unified Installer• Installs Mono for Android and all its prerequisites
    22. 22. Simple Example
    23. 23. How does it work?
    24. 24. How does it work?• Resource.designer.cs is generated for Android resources
    25. 25. How does it work?• Resource.designer.cs is generated for Android resources • Images, Strings, etc
    26. 26. How does it work?• Resource.designer.cs is generated for Android resources • Images, Strings, etc• Code compiled to .NET assembly
    27. 27. How does it work?• Resource.designer.cs is generated for Android resources • Images, Strings, etc• Code compiled to .NET assembly• Android callable wrappers are generated and Android package is created
    28. 28. UI Designer
    29. 29. UI Designer
    30. 30. UI Designer• Available on both OSX and Windows
    31. 31. UI Designer• Available on both OSX and Windows• Visually construct view hierarchies
    32. 32. UI Designer• Available on both OSX and Windows• Visually construct view hierarchies• Generates Android XML
    33. 33. UI Designer• Available on both OSX and Windows• Visually construct view hierarchies• Generates Android XML• Resource support
    34. 34. UI Designer• Available on both OSX and Windows• Visually construct view hierarchies• Generates Android XML• Resource support• Themes
    35. 35. UI Designer• Available on both OSX and Windows• Visually construct view hierarchies• Generates Android XML• Resource support• Themes• Various device profiles
    36. 36. UI Designer• Available on both OSX and Windows• Visually construct view hierarchies• Generates Android XML• Resource support• Themes• Various device profiles• Alternate views, conflict resolution
    37. 37. Android SDK
    38. 38. Android SDK• Intents
    39. 39. Android SDK• Intents• Activities
    40. 40. Android SDK• Intents• Activities• Services
    41. 41. Android SDK• Intents• Activities• Services• Content Providers
    42. 42. Android SDK• Intents• Activities• Services• Content Providers• Fragments
    43. 43. Android SDK• Intents• Activities• Services• Content Providers• Fragments• Ice Cream Sandwich (Android 4.x)
    44. 44. Android SDK• Intents• Activities• Services• Content Providers• Fragments• Ice Cream Sandwich (Android 4.x)• etc...
    45. 45. Multi-Screen Example
    46. 46. Existing Java Libraries• Mono for Android ships with bindings for Android SDK (in Mono.Android.dll)• Third party Java libraries can also be used • Java Binding Library project
    47. 47. x86 Emulator• Available for Android 2.3.3 (API Level 10)• Faster • Startup • Build, deploy, debug
    48. 48. ReferencesGetting Started Serieshttp://docs.xamarin.com/android/getting_startedTutorialshttp://docs.xamarin.com/android/tutorialsMono for Android Recipeshttp://docs.xamarin.com/android/Recipes Professional Android Programming with Mono for Android and .NET/C# Wallace B. McClure, Nathan Blevins, John J. Croft IV, Jonathan Dick, Chris Hardy Xamarin Copyright 2012 © Xamarin Inc. All rights reserved
    49. 49. Xamarin Seminar Please give us your feedback http://bit.ly/xamfeedback Follow us on Twitter @XamarinHQ Copyright 2012 © Xamarin Inc. All rights reserved

    ×