Course updated August 18th 2017!
Learn the basics of creating both Android and iOS applications using Xamarin, for reusing up to 100% code. Plus, empower your apps with cloud-based services!
Build Android and iOS apps that are empowered by cloud services with up to 100% code sharing between platforms.
Powerful apps that your users will love
Using Xamarin to build your iOS and Android Apps can save you and your team a lot of effort and money. Think about it, instead of coding two apps, you are coding one and deploying it to both android and iOS. All of the time and money you are saving is just amazing!
Looking for a job? Picture a company that is looking for an Android AND an iOS developer (as separate positions). Now picture yourself going to an interview and telling the recruiter that you can build BOTH apps in the same time as it would take two people to build them, achieve that by reusing code with Xamarin!
Content and overview
Suitable for beginners or anyone who is barely starting on mobile app development. You'll learn the basics of the C# programming language, the basics of iOS and Android app creation and you'll even create real-world apps connected to the cloud.
Also suitable for experienced developers who want to learn what they can do by sharing code between platforms and integrating powerful cloud services in their apps. You'll learn how you can share C# code between Android and iOS projects, access cloud-hosted databases (and create those databases), authenticate your users with Facebook or other services and more!
Welcome to this Xamarin course! Create Android and iOS apps sharing C# code!
Where does Xamarin come from? Why does it exist? What is it's goal in life?
Let's talk a bit about Xamarin Test Cloud, one of Xamarin's services.
A brief introduction to the C# Language, the one we will use to create our iOS and Android apps using Xamarin.
A brief explanation on how the code sharing is going to happen between iOS and Android.
Getting Xamarin ready on a Windows PC. We will be getting the tools for us to use the Xamarin Platform with Visual Studio 2015.
Android and iOS Projects on Visual Studio thanks to Xamarin.
You can download the C# code (GitHub repository) for each section (starting on section 5) in the resources of the first lecture of each section. This way you can follow the creation of Android and iOS Apps with the Xamarin project open, or you know, just compare.
Create a free account on Visual Studio Team Services and Github to be able to use those tools.
Clone the repository from Team Services to your PC, add an existing solution or create a new one, sync the solution to the repository and see your code directly from Chrome (or other browsers).
You have the code on the cloud, let's download it onto a Mac computer so you can code from Xamarin Studio.
Issues with the JDK version installed, and the JDK version used to compile packages or projects.
C# Hello World, getting started with the C# programming language!
Declaring variables on C#.
Declare variables, not war.
Making a float into an integer, or a double into a float, or...you get the idea, stripping the identity out of variables.
Defining methods (little beings defined as blocks of code that can be called whenever we want, sometimes to do what they do they ask for some values, sometimes they also give values back to whoever called them) with C#.
If (you are reading this)
share how you are liking this lecture descriptions.
If (you are reading this)
tell your friends to enroll on this course!
well, do whatever you want.
If / else with C#.
When we are evaluating more than just true or false, switch blocks are very useful.
Object Oriented Programming with C#. Creating some classes and objects.
This method is legen.....Wait for it......
Don't do anything until you return a value from this async method.
Now, do whatever you need to do, you have awaited the method, you have received some value. Async programming with C# is so easy!
Our first iOS app using Xamarin and C#!
Defining the UI for an iOS app on Xamarin Studio is just like doing it on Xcode!
Coding an iOS app with C#, how about that!
Some extra details to make the user experience better.
Our first Android app with Xamarin and C#!
I don't always code Android apps, but when I do, I do it with C#.
The frickishly slow Android emulator.
Remoting the iOS simulators from a macOS computer, to Windows, with the Xamarin iOS Simulator for Windows.
Learn about out parameters, that let you "return" more than one value from the execution of a method.
Creating custom constructors, and overloading methods.
I am a Software Engineer, Xamarin Certified Mobile developer. But I'm also studying Finance and Banking.
I have developed mobile apps for iOS, Android and Windows. But I've also designed marketing strategies for some local businesses and my own company.
I'm a cofunder of an Internet of Things startup, in which my role goes from software developer, to cloud expert, to project lead, to inventor. But my role also goes to Chief Financial Officer, to CEO, to marketing, to designer and sometimes even teacher.
I have learnt a lot in school and at work about software development, cloud computing and the internet of things. But I've also learnt in my new school and during my amazing journey creating startups and small businesses about finance, banking, marketing, design, leadership and other very interesting stuff.
Above all however. I am human and I'm here to try to make the world a better place in any way I can, one is creating Internet of Things devices that will make life better, another is teaching stuff so you can be better at work, or even create your own company!